Site logo

Archived topic

menu button

9 replies · Started by Jose on November 26, 2020

Viewing posts 1–10 of 10

Hi there,

in your CSS change this:

.main-navigation .main-nav ul li.nav-button a {
    background-color: #ff1e00;
    border: 2px solid #ff1e00;
    border-radius: 40px;
    color: #ffffff !important;
    line-height: 35px;
}

to:

.main-navigation .main-nav ul li.nav-button a,
.header-wrap #site-navigation:not(.toggled) .main-nav>ul>li.nav-button[class*="current-menu-"]>a {
    background-color: #ff1e00;
    border: 2px solid #ff1e00;
    border-radius: 40px;
    color: #ffffff !important;
    line-height: 35px;
}

But with that code I hace the button effect in all the pages i am.

Edited the CSS above - try that

Okey, it is workin now. But when I hover over the button, backgroung anc color text are white, in my CSS I have it different, do you know what the problem can be?

Regards,

Nothing...

Now it is working, but it is strange, I have to write the code twice...

It is weird

You shouldn't have to write the same code twice.

Glad it's working though.

This archived topic is closed to new replies.