Changing the Button Style

  • Federico Dantoni
  • Federico Dantoni's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 9 months ago - 2 years 9 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.
 
Last edit: 2 years 9 months ago by Federico Dantoni.

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

  • Christopher Mavros
  • Christopher Mavros's Avatar
  • Offline
  • Administrator
  • Administrator
More
2 years 9 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
me@mavxr.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