More specifically- I need to add a class to the button at the bottom of a pricing table so clicking the button will open the modal. Im using the Easy Modal plugin, all I need to do is add a class to the button so it opens in a modal.
A Text box is able to dynamically add a shortcode to a URL, but this isn't possible with a button, both the URL form entry, color attribute, or class reference. Is there a way for the URL in a button to be referencing a separate element Class or Element ID?
How can I add a class to the button shortcode?
More specifically- I need to add a class to the button at the bottom of a pricing table so clicking the button will open the modal. Im using the Easy Modal plugin, all I need to do is add a class to the button so it opens in a modal.
Hey Nick!
Unfortunately there is not an option of adding an extra class to the button but you can however pass a class via the color attribute to hack it.
Cheers
ThemeNectar Support Team
This was a perfect workaround for adding a class, thanks.
Does this still work for 8.5.5?
Yes it should work .
Be.st
ThemeNectar Support Team
A Text box is able to dynamically add a shortcode to a URL, but this isn't possible with a button, both the URL form entry, color attribute, or class reference. Is there a way for the URL in a button to be referencing a separate element Class or Element ID?
Hey Again,
No i am afraid you will have to use the Row and Column Extra Class Field to target the individual buttons.
Be.st
ThemeNectar Support Team