Could you add the classes to the menu items in appearance \ menu area.
You need to enable the CSS class option from the screen options button on the top right of that page. Select CSS classes as shown in the attached screenshot.
Tahir, I tried that. It doesn't allow me to change individual links. I have 4 menu items I have given each one a custom css class. Then I have used them in the css section of wordpress (Via customise) & the salient general settings section. This is the code I used:
Could you allow us to log in to your website backend dashboard so we can check on this for you more?. We are gonna need the username and password of admin user as well as the login url.
Custom CSS box is in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
Hey I want to change my menu to have different hover and active menu colours. I cannot get it to work.
I have created custom classes for each menu item.
.black-menu.menu-item > a {
color:black ;
}
.red-menu.menu-item > a {
color:#ef4f51 ;
}
.yellow-menu.menu-item > a {
color:#ffc40d ;
}
.blue-menu.menu-item > a {
color:#0062b1 ;
}
.green-menu.menu-item > a {
color:#6bc05a ;
}
Hi there,
Could you add the classes to the menu items in appearance \ menu area.
You need to enable the CSS class option from the screen options button on the top right of that page. Select CSS classes as shown in the attached screenshot.
Cheers.
Attached files: Menus-‹-stage-—-WordPress.png
Hey Again,
You can use the new Menu Options as well instead of the CSS: https://themenectar.com/docs/salient/salient-menu-options/ . See screenshot below.
Thanks.
ThemeNectar Support Team
Hey Tahir and Noah,
Tahir, I tried that. It doesn't allow me to change individual links. I have 4 menu items I have given each one a custom css class. Then I have used them in the css section of wordpress (Via customise) & the salient general settings section. This is the code I used:
.black-menu-studio.nav-menu a:hover {
color:black ;
}
.red-menu-consult.nav-menu a:hover {
color:#ef4f51 ;
}
.yellow-menu-create.nav-menu a:hover {
color:#ffc40d ;
}
.blue-menu-venue.menu-item a:hover {
color:#0062b1 ;
}
.green-menu-earth.menu-item a:hover {
color:#6bc05a ;
}
I would like each menu item to change to this on hover AND when it is the active page.
It still isnt working.
Thanks
Hey Again,
Could you allow us to log in to your website backend dashboard so we can check on this for you more?. We are gonna need the username and password of admin user as well as the login url.
Thanks.
ThemeNectar Support Team
Hey Again,
Just Added in the below CSS. Please check.
Custom CSS box is in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
Thanks
ThemeNectar Support Team
Thank you for that! It is perfect!