Site logo

Archived topic

Anchor link shows active when you are on page containing link

3 replies · Started by Nimie on October 29, 2018

Viewing posts 1–4 of 4

I have a menu anchor link for the contact form on the home page. I also have a transparent sticky header/menu. I have added /* Regular menu item colors */
.main-navigation .main-nav ul .ignore-current-colors.current-menu-item > a {
background: #8ac1ac;
color: #fff;
}
to keep it from showing active when you are on the home page. The problem is the transparent menu. It shows active until you begin to scroll and then it corrects to the color I selected. How do I fix the issue when the menu background is transparent?

Also, I can not get premium 1.7.3 update. My account says this site is active but plugin update continues to fail on the website.

Hi there,

Can you add this additional CSS?

.generate-merged-header #site-navigation:not(.toggled) .main-nav > ul > li.ignore-current-colors[class*="current-menu-"] > a {
    background-color: transparent;
}

What errors are you getting during updates? One of these?
https://docs.generatepress.com/article/updating-issues/

Let me know :)

Code worked perfect thank you! I was getting a could not verify error on plugin update but it worked today.

As always thank nyo9u for the great support.

No problem :)

This archived topic is closed to new replies.