Format Button added to Main Header Menu
-
Hi all, I have searched the Oceanwp Forum and found prior comments about problems changing the colours of an added Button on the menu. (WordPress btn class)
I found NO solutions…Changing the Button Colours in Customiser/General Options/Theme Buttons…had no effect on the menu button created using the css class ‘btn’.
Solution – added the following lines to Custom CSS: making a BLACK bgn Button/white text, then on Hover: Bgnd col – WHITE, text RED
/*Change btn class colour of text & bgnd as Customiser won’t*/
li.btn a.menu-link span.text-wrap {
color: #ffffff !important;
}
li.btn a.menu-link span.text-wrap {
background-color: #000000 !important;
}
li.btn a.menu-link span.text-wrap:hover {
background-color: #ffffff !important;
}
li.btn a.menu-link span.text-wrap:hover {
color: #dd3333 !important;
}I hope the above helps others with this issue. Cheers Dennis
The topic ‘Format Button added to Main Header Menu’ is closed to new replies.
