[Resolved] Hook – menu-bar-items same color as merged header

Home Forums Support [Resolved] Hook – menu-bar-items same color as merged header

Home Forums Support Hook – menu-bar-items same color as merged header

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2366888
    tita

    Hi,
    How can i achieve – permanent mobile menu (burger toggle) with hooked cta-buttons, merged with feautured image in color white. menu and cta-buttons should switch to darkgrey when header slides in.
    Config now:
    Elements: Merged Header, navi color set to white.
    Elements: Hooked cta-buttons (generate_menu_bar_items).
    Not working yet is: Color of hooked elements (always grey)
    Put hooked elements to right, just before the menu toggle (Customizer sets, cause of flexbox, the elements somewhere)
    (GP Premium, GBlocks pro)
    Should look like this: Logo center, burger-menu right, 2 cta-buttons left to burger-menu – all white.
    when Header comes in – all darkgrey on white.
    Please give advise how to achieve this with elements and customizer.
    Thank you.

    #2367562
    David
    Staff
    Customer Support

    Hi there,

    so it looks like the only remaining issue is the CTA Buttons require a different color when the header is merged.

    Try this CSS:

    
    #mobile-header:not(.is_stuck) {
        --contrast: #fff;
        --contrast-2: #fff;
    }

    What it does is swap the Global Color values only for the #mobile-header and when it is NOT sticky.

    #2368342
    tita

    Thanks, that worked perfect, now we have to bring the menu-bar-item to the right, just before the toggle burger-menu.
    Any css for that?
    Thanks a lot.

    #2368358
    tita

    ah, this works.
    .main-navigation .inside-navigation {justify-content:flex-end}

    #2368530
    David
    Staff
    Customer Support

    Glad to hear thats working!!

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