Jump to content

How do I have a full bleed gallery sit behind my transparent header?

Recommended Posts

Posted

Hi, Im hoping someone can help me, I have a page on a portfolio I am making and the first section is a full bleed gallery slideshow. My header throughout the website is transparent and fixed so that only the logo and buttons remain in place as you scroll. Currently when this page loads up the gallery sits beneath the header which reveals the background colour of the gallery section.

How do I make it so that the gallery reaches to the top of the page and has the header logo and buttons sitting over the top of it?

 

It currently looks like this at the top of the page

image.thumb.png.8f728fde90234ecd6052ec2174467101.png

 

I want it to look like this without having to scroll down as I have done hereimage.thumb.png.698a522b9d03247d3cfd98a339d0caa8.png

 

Thanks a lot!

Posted

You try this code to Website > Website Tools > Custom CSS. If it doesn't work, you can share site url, we can check easier.

body.homepage article section:first-child {
	padding-top: 0px !important;
}
body.homepage header#header {
	background-color: transparent !important;
}

 

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!)

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.