Change Header, Fixed Header and Menu Link Colors.

Solved9 replies3 participantsUpdated by Robert Hall

  • Avatar: venetia
    venetia
    Participant

    Hi, I am using the header variant 1.

    I want to achieve the following:
    1.) The header and fixed header’s background color should be #5d5c62.
    2.) The menu links on both the fixed and main navigation header should be white.
    3.) The active link color can stay the same. (Set in theme options)

    I hope you can assist. Thanks in advance.

    9 Answers

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    1. Please add this code in custom.css file:

    header, .fixed-header-area {
        background-color: #5d5c62 !important;
    }

    2. Add this code in custom.css:

    .menu > li > a {
        color: white;
    }

    How to create custom.css you can watch in this tutorial (it’s for Legenda theme but the process is the same).

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: venetia
    venetia
    Participant

    Thank you, the background color works fine, though the text won’t show correctly without “!important;”
    next to the css. Though the active link color doesn’t want to show.

    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello,

    As I see your issue solved. Didn’t it?

    Regards,
    Robert Hall.

    Avatar: venetia
    venetia
    Participant

    I have sorted out the menu. Though I am struggling with the following.

    Get Rid Of White Space.

    I am using different gradient backgrounds and images, every now and then there are white spaces between elements. How do I get rid of them?

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Please provide us with a page link and wp-admin panel credentials to check the issue.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: venetia
    venetia
    Participant

    I have sorted out the last issue. I still need help with the first one.

    After changing the menu color and menu link color, The active menu link color on the menu doesn’t want to work.

    “Thank you, the background color works fine, though the text won’t show correctly without “!important;”
    next to the css. Though the active link color doesn’t want to show.

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello,

    I’ve added this code into custom.css file. Check it please.

    .menu >li.current-menu-item >a{
    color: #f05423 !important;
    }

    Also please clear cache your site and browser.

    Regards,
    Robert Hall.

    Avatar: venetia
    venetia
    Participant

    Thank you. The problem has been resolved.

    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello,

    You’re welcome!

    Regards,
    Robert Hall.

The issue related to '‘Change Header, Fixed Header and Menu Link Colors.’' has been successfully resolved, and the topic is now closed for further responses