[Resolved] floating logo and menu over content

Home Forums Support [Resolved] floating logo and menu over content

Home Forums Support floating logo and menu over content

  • This topic has 5 replies, 3 voices, and was last updated 4 years ago by Tom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1197569
    Pavla

    Hi! I want to achieve a floating logo and menu over content (logo on left, menu on right).
    I installed generate press on a testsite, would you mind help me out with that? there are just sooo many options its overwhelming.

    Thanks in advance!!

    #1197573
    Leo
    Staff
    Customer Support

    Hi there,

    Can you activate this option first?
    https://docs.generatepress.com/article/navigation-as-a-header/

    Let me know πŸ™‚

    #1201299
    Pavla

    o.k. i think i managed it somehow playing around with the header element. On desktop it looks like I need (White medium transparent background on the menu items but not on logo, floating over content). But on mobile the white menu background is on the whole header width and i want it only on the menu to be readable on all different colours of content. How can I manage it?
    there seems also to be some white backgrounded space on first loading on desktop on safari.
    thanks!

    #1201920
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Does this CSS help?:

    .header-wrap #mobile-header:not(.toggled):not(.navigation-stick) .menu-toggle {
        background: rgba(255,255,255,.5);
    }
    
    .header-wrap #mobile-header:not(.toggled):not(.navigation-stick) {
        background: unset;
    }

    Let me know πŸ™‚

    #1229535
    Pavla

    Ok perfect! that helped! thank you!

    #1230154
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

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