Tagged: background, button, hover, style
I need to know 2 things:
1. How to change the border of a transparent button to a different color than the text on the button.
2. How to change the background color of the button AND the color of the text when the mouse hovers over the button. (eg. the button has a red border and transparent background with grey text… then changes to a solid red button with white text when mouse hovers)
Thanks!
Hey JPOsteen,
Please link to where we can inspect the elements in question.
Best regards,
Rikard
I think I found the answer to #1 but I’m still having problems with #2.
Hi,
Try to go to Enfold > Advanced Styling, there is a dropdown there (beside the blue button with this text Edit Element), choose Buttons then click on Edit Element then adjust the colors. Hope this helps :)
Best regards,
Nikko
Nikko,
Thanks for trying to help, but I have already tried to do that. The problem I have is that there is no tab to change the colors. Please see the screenshot below.
Hi,
Sorry for my mistake. Setting up the background, border and font color for buttons affects the whole theme, to modify only the button you would need to add few css codes, try adding this code in Quick CSS (located in Enfold > General Styling):
#times .avia-button:hover {
background: #aa483d !important;
}
#times .avia-button:hover span {
color: #fff;
}
Let us know if this helps :)
Best regards,
Nikko
Nikko,
Worked great! Thanks!
Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)
Best regards,
Nikko