Unfortunatly it is not possible to add an ID or additional class name through the orion Button widget. But it can be created by copying the button HTML into the Custom HTML widget. Then you can add any class or id to it. If the same button will be used multiple times, you could also create a static block which you can then add to any page with a Static block widget.
Here are the steps:
1. Create a New Static block, name it a Button 1 (for example).
2. Add button HTML to the Button 1 static block with a Custom HTML widget. Here is an example button HTML:
In order to trigger a modal window from a button click – a class or id needs to be able to be added to a button.
How would we go about adding a field to the Orion Button that will allow a field for populating the button's id or class with additional values?
Hi,
Unfortunatly it is not possible to add an ID or additional class name through the orion Button widget.
But it can be created by copying the button HTML into the Custom HTML widget. Then you can add any class or id to it. If the same button will be used multiple times, you could also create a static block which you can then add to any page with a Static block widget.
Here are the steps:
1. Create a New Static block, name it a Button 1 (for example).
2. Add button HTML to the Button 1 static block with a Custom HTML widget. Here is an example button HTML:
3. Save the static block, then go to any page and add a static block widget, and select "Buttton 1" from the select box.
I hope this helps,
Andrej
OrionThemes