Changing the Button Style

1 year 4 months ago - 1 year 4 months ago #1 by Federico Dantoni
Changing the Button Style was created by Federico Dantoni
How do I style the button, so it looks different than my primary buttons?
I have a bunch of buttons in my articles and I like the Add to favorites button to look different from the others.
Since the button is set to the primary button CSS, I wasn't able to do that. How can I change that?

Thank you.
 

Please Log in or Create an account to join the conversation.

1 year 3 months ago #2 by Christopher Mavros
Replied by Christopher Mavros on topic Changing the Button Style
Hello Federico and thank you for posting on our forum!

You may create a template override of the default_button.php file.
To do that, you can copy the file modules/mod_myshortlist/tmpl/default_button.php to templates/your_template/html/mod_myshortlist/default_button.php and change the button classes according to your needs.

Let me know if you need any further assistance!

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

Moderators: Christopher Mavros