Hi there!
I am trying to change the button in my main navigation bar to have a background image and custom text formatting along with the same effect that comes default with enfold for hover (I think it’s a white semi transparent overlay).
I’m including the links to the site in the private section below.
Thanks in advance for your help!
~L
Hey LesleyJean,
Please try the following in Quick CSS under Enfold->General Styling:
#menu-item-29 a {
font-family: 'Raleway';
font-size: 18px;
font-weight: 900;
color: #fff;
background-image: url(‘https://bethelisecoaching.com/wp-content/uploads/2019/08/Beth-Elise-Button-BG.jpg’);
}
Best regards,
Rikard
Strange, but it doesn’t appear to be working for me. I even added !important after each parameter. Let me know what you suggest?
Also, I’ve dumped website cache, cleared browser history cache, and hard refreshed. Even tried in an incognito window…figured I’d cover these bases. ;) Let me know your thoughts on next steps.
Hi LesleyJean,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
#menu-item-29 a .avia-menu-text {
background-image: url(https://bethelisecoaching.com/wp-content/uploads/2019/08/Beth-Elise-Button-BG.jpg);
}
If you need further assistance please let us know.
Best regards,
Victoria
Thank you! That fixed the issue!
Appreciate your support as always! Enfold rocks!
You can close the ticket.
~L