Okay
  Public Ticket #885657
custom css for subnav
Closed

Comments

  • Ines started the conversation

    Hi there,

    Could you kindly provide me with custom css for changing the styling of the sub-nav items?

    Currently they are black and I’d like them white with no underline but the font colour changing on hover (I can adjust the colour itself as long as have the code).  Don’t seem to find this option in any of the styling sections in the dashboard… 

    My site: kellyhopterinteriors.com

    un: [email protected]

    pw: d3si8n

    sub-nav under Services.

    Thanks so much in advance!


  •  1,558
    Laborator replied

    Hi Ines,

    Use the Custom CSS below to do the changes:

    .main-header.menu-type-standard-menu .standard-menu-container.menu-skin-main ul.menu ul li a:after, 
    .main-header.menu-type-standard-menu .standard-menu-container.menu-skin-main div.menu > ul ul li a:after {
      display: none;
    }
    
    .main-header.menu-type-standard-menu .standard-menu-container.menu-skin-main ul.menu ul li a:hover, 
    .main-header.menu-type-standard-menu .standard-menu-container.menu-skin-main div.menu > ul ul li a:hover {
      color: red;
    }
    

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Ines replied

    Thanks very much for the code, Art.  Unfortunately, it doesn't appear to work as intended.. the subnav is still black. Would you be so kind and pop over and see what I may have done wrong? To be sure, i pasted the code into the Custom CSS field in Appearance/Theme Options/Theme Styling

    Thanks so much in advance!

    kellyhopterinteriors.com

    [email protected]

    d3si8n

  • Ines replied

    Just to clarify, I'd like the background of the subnav to be the same as main nav, not black. The font should be white and undeline is fine.

    Thanks so much,

    Ines

  •  1,558
    Laborator replied

    Hi Ines,

    I managed to fix it, added some CSS and fixed it a bit as you had removed a slash / probably and it would not work anymore.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Ines replied

    Amazing, thanks so much Art!


    Ines

  •  1,558
    Laborator replied

    You're welcome Ines :)

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group