Changing the Button Style
- Federico Dantoni
- Topic Author
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
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.
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: 1 year 4 months ago by Federico Dantoni.
Please Log in or Create an account to join the conversation.
- Christopher Mavros
- Offline
- Administrator
1 year 3 months ago #2
by Christopher Mavros
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
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!
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
- Home
- Support
- Forums
- MyShortlist
- Extension Forums
- MyShortlist Forum
- Changing the Button Style