- This topic has 4 replies, 2 voices, and was last updated 5 years, 3 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Community Forums › Aspire Theme Support › Change color of submenu
How do I change the background color of the submenu?
To change the background color of Sub Menu:
.genesis-nav-menu .sub-menu a:hover,
.genesis-nav-menu .sub-menu li.current-menu-item > a {
background-color: #ff0000;
color: #fff;
}
Add that code to your CSS. Just so you know, you can change the main default color of the Theme (orange) to whatever color you want in the Admin Customize page. But this changes it all in one. If you want to have a certain section of your site separate, then you would have to add something like the code listed above as an example.
I added a red background in the code so you can test to see if it works.
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
Hey Eric, I added an !important; code after that and it works! Thank you. I have noticed that when I hover over the navigational menu, it takes about 1s before the submenu appears 1 item by 1 item, any idea how do I remove that animation so that there is no “scrolling down” of the submenu?
The animation part you’re referring to comes from the Genesis Framework. The Aspire theme doesn’t add this effect. You would have to override it by adding code or a snippet of code to remove or adjust the speed.
I did a Google search and got this link – https://my.studiopress.com/documentation/snippets/scripts/ Hopefully that helps, if not, then there are more code snippets and tutorials out there that should be able to.
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com