Custom Header Hover Color

Home Forums Gillion Theme Custom Header Hover Color

Home Forums Gillion Theme Custom Header Hover Color

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    RESOLVED Posts
  • irfanisrael
    Participant

    Hello,

     

    could you please give a code to individually customize hover color of each header category?

     

    I basically want to have a different hover color for each individual category.

     

    My website is https://lifecobra.com

     

    Thank you

    Hi @irfanisrael,

     

    Thank you for your question.

     

    You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    

     

    Please change the hover color in the above shared CSS code for each menu items.

     

    Best regards,
    Shufflehound team

    irfanisrael
    Participant

    Hello,

     

    it works, but pages and posts in the top header and the footer also have this effect, is there a way to only target the header?

     

    Thank you

    Solution for this topic

    To resolve that please try using below custom CSS code instead of above.

     

    #header-navigation .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    #header-navigation .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    #header-navigation .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    #header-navigation .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    #header-navigation .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    #header-navigation .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }
    #header-navigation .sh-nav > li.menu-item:nth-child(1):hover > a {
        color: #d61c1c !important;
    }

    irfanisrael
    Participant

    Awesome, it works, thank you very much

    You are most welcome here 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form