Jump to content

Make the header 50% width and transparent over a split section.

Recommended Posts

Site URL: https://oleander-gerbil-s663.squarespace.com/home-split

Hi,

I'm mocking up a template for a cosmetics brand.  I am using split sections and id like the header to only go across the left side section. 50% width works for this but then i need it to be transparent over the background image section.  The main issue is when i do the transparent header it only starts to show on scroll.  The other issue i have is that i would like the nav links to display as a block at the bottom left side of the page.  also with a transparent background.   I have tried making the header 50% width and 100Vh height. I doesn't work.  

Any advice would be greatly appreciated. 

this is what i mean by the nav links - but i would like the logo just on left hand side.

https://oleander-gerbil-s663.squarespace.com/home-split

pw:split

 

this is the code i have that's not working. It just shoves it all down the page.... 

.header {
  width:50%;
  height:100vh;
  background-color:transparent !important;
  z-index: 99999;
  position:fixed;
  top: 0;
  left: 0;
  
  	display: flex;
	flex-direction: column;
	align-items: left;
	justify-content: space-between;
}
2033948022_Screenshot2022-03-01at11_46_46.thumb.png.51328c75895977fa3b17acafbe9b4ce7.png
Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

It looks like you have figured it out. Do you still need help?

image.thumb.png.a70821e3d6d32d31e61d5eba677cddfb.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

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.