Change color of submenu

Homepage Community Forums Aspire Theme Support Change color of submenu

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #22166
    raelyntan2212
    Customer

      How do I change the background color of the submenu?

      https://imgur.com/a/TnFvr

      #22167
      raelyntan2212
      Customer
        This reply has been marked as private.
        #22177
        Eric
        Customer

          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

          #22181
          raelyntan2212
          Customer

            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?

            #22188
            Eric
            Customer

              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

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.