• Resolved gutte

    (@gutte)


    Somehow my active likns are plain white – as the background. So the active menu link is not visible. Where can I change this? I have tried in my chils css file – maybe I am using some wrong code.
    My site is here.
    Thanks for any help –

Viewing 4 replies - 1 through 4 (of 4 total)
  • hi

    Find the following code in “wpdefault.css” file

    li.current-cat a, li.current_page_item a, li.current-menu-item a, li.current-cat a:link, li.current_page_item a:link, li.current-menu-item a:link, li.current-cat a:visited, li.current_page_item a:visited, li.current-menu-item a:visited {
        color: #FFFFFF;
    }

    and replace it with this code

    li.current-cat a, li.current_page_item a, li.current-menu-item a, li.current-cat a:link, li.current_page_item a:link, li.current-menu-item a:link, li.current-cat a:visited, li.current_page_item a:visited, li.current-menu-item a:visited {
        color: #000000;
    }
    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @rajan, That’ll cause headache later on when the theme updates and the original poster’s changes are erased.

    Let’s avoid that headache and instead recommend people to use a Custom CSS plugin or a Child Theme style.css file to hold those CSS modifications; creating new styles that override existing ones.

    Thread Starter gutte

    (@gutte)

    Thanks Rajan Faldu and Andrew for replying!

    Well, I can’t find the wpdefault.css file anywhere in the parent theme, only the style.css and rtl.css. Yes I am using a child theme.
    Putting the replace code (mentioned above) into the child style.css does not change anything.

    Thread Starter gutte

    (@gutte)

    Update: Active menulinks are now red – will post back soon.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Color on active menu links (under the header)’ is closed to new replies.