Archived topic
Where can I edit and enable class nav-button on menu
5 replies · Started by BIGHEAD d.o.o. on January 25, 2022
I installed https://gpsites.co/agency/ theme and on the top right menu corner is Contact link with class nav-button.
I can't find where can I enable or disable nav-button or choose which menu link could have class nav-button?
And I couldn't find where can I edit the background color of class nav-button. Only in .css file?
Hi there,
1. This article explains how to add/remove a CSS Class added to a menu item link.
2. The CSS for the nav-button selector can be found in Customizer > Additional CSS
For more info - this document explains doing it from scratch:
https://docs.generatepress.com/article/adding-buttons-navigation/
Yes David, I got that. But still don't know exactly where and how I choose which menu link can have background color? In this template nav-button have only Contact link all the time.
OOPS I missed the link with #1 reply:
https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes
Tricky :)
Yep - WP don't announce that one lol
Glad to be of help