Jump to content

How to make header transparent on home page, and have image gallery underneath?

Go to solution Solved by SaranyaDesigns,

Recommended Posts

Posted (edited)

https://www.calsharkey.com/

I'd like to make the website header on my home page transparent and then add a full-screen gallery/slideshow partially underneath (so it's bleeding across the page, like the image that first loads on this website: https://www.kishibashi.com/). 

I found this code but it didn't work and also made my other pages' galleries look weird:

.page-section.gallery-section{
  padding-top:0px!important;
}

Also is there a way to do this so it only affects the header on the homepage, and the other pages have the header with a white background?

Thanks for any help on this! It's much appreciated 

Edited by CalShark
  • Solution
Posted

@CalShark try this in your custom css?

#collection-6520532e3728bb028be82644 .header .header-announcement-bar-wrapper, #collection-6520532e3728bb028be82644 .header {
	background: transparent !important;
}
#collection-6520532e3728bb028be82644 [data-section-id="65510299d628a0461e9f54c5"], #collection-6520532e3728bb028be82644 .header-menu--folder-list {
	padding-top: 0 !important;
}

 

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.