Archived topic
How can I change the colors of the Contact button at the nav of Search Theme?
7 replies · Started by Elena on July 18, 2021
Hi
Using Search theme from Site library. Imported demo content.
On appearance settings > colors > buttons
Changed the color of buttons, but I don't see any change.
How can I change the Contact button color of the main navigation menu? (it is in your demo content)
Thank you
Elena
Hi Elena,
Go to customizer > Addtional CSS, you can change the color and hover color of the button there:
https://www.screencast.com/t/OIiahyp2
Thank you Ying :) I could change the color following your instructions.
Now I deleted the contact label accidentally on menu and now that I add my own contact page to menu I have lost the border and color style for that contact button you had in demo.
How can I get it back?
Sorry :S
I guess there's a div class I can add to the label, but which one was it?
nav-button? :D
Hi there,
yes you need to add the nav-button class to the menu item.
This article explains how to do that:
https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes
The CSS Classes field should already be enabled.
THANK YOU!
You're welcome