Jump to content

Position logo and nav on banner image

Go to solution Solved by tuanphan,

Recommended Posts

Hello!

I am currently using the Mentor template in the Brine family. I would like to stack a logo directly above the nav menu, on the header banner image. Right now, you can see that the logo is centered above the nav, but it has a different background colour because it's against the background, not on top of the banner image.

issue-1.png 

That is because the logo's position is "top center" while the nav's position is "bottom center".

When I change the logo to "bottom center" and keep the nav at "bottom center" it looks like this, which isn't what I'm aiming for:

issue-2.png

Does anyone have any advice on how to achieve the desired result?

Thank you.

 

 

 

 

Edited by stellaehabib
Link to comment
  • Solution

@stellaehabib try adding this code to home > design > custom css

header.Header.Header--top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: transparent;
}
header.Header.Header--bottom.Header--overlay {
    position: absolute;
    top: 180px;
    left: 0;
    right: 0;
    z-index: 999;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 6 months later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.