Hi,
not sure what’s happening here. I’ve got a custom button shortcode that has the class hardcoded as <a class="ofh_sc_button">
but it’s getting overwritten by .x-btn
class.
I’ve tried removing the x_button
shortcode but that doesn’t work…is there some JS that’s overwriting what I’m trying to do?
You can see the issue here—https://abc5319.sg-host.com/a-great-page/
The button shortcode is
[button link="https://www.mightycause.com/event/C7jvff" fill="true" label="DONATE NOW" style="crimson" target="new"]
Expected output (from php) is
return '<a class="ofh-sc-button ' . $fill_class . ' ' . $style . '" href="' . $link . '" ' . $target_state . '>' . $label . '</a>
;
Actual output (html) is
<a class="x-btn" style="crimson" href="#" target="_blank" rel="" data-options="thumbnail: ''"></a>