Site logo

[Resolved] hooked cta button in menu_bar_items should have same color as toggle

Home Forums Support [Resolved] hooked cta button in menu_bar_items should have same color as toggle

Home Forums Support hooked cta button in menu_bar_items should have same color as toggle

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2401422
    tita

    Hello, I’m trying to achieve: CTA Button, already hooked to menu_bar_items should have the same color as the toggle.
    Toggle has
    .header-wrap #site-navigation:not(.toggled) .main-nav > ul > li > a, .header-wrap #mobile-header:not(.toggled):not(.navigation-stick) .main-nav > ul > li > a, .header-wrap .main-navigation:not(.toggled):not(.navigation-stick) .menu-toggle, .header-wrap .main-navigation:not(.toggled):not(.navigation-stick) .menu-toggle:hover, .main-navigation:not(.toggled):not(.navigation-stick) .menu-bar-item:not(.close-search) > a {color:white;}
    CTA Button should have the same color (white on site, original color on sticky), but can’t find the trigger.
    Can you help me out?

    #2401467
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    
    .header-wrap #site-navigation .gb-button {
        --contrast: #fff;
    }

    What it will do is swap the --contrast color just for the gb-button inside the site-navigation.

    #2401489
    tita

    TY, works like a charme.

    #2401718
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.