Jump to content

How to make drop down menu folder for hayden transparent

Recommended Posts

  • Replies 6
  • Views 1.8k
  • Created
  • Last Reply
Posted

Steve

Yes, you can remove the folder colour (currently black) by adding this to Design > Custom CSS:


#headerNav nav .subnav, #sidecarNav nav .subnav {
 background-color: transparent;
}

I hope this helps.

Also, here's a friendly heads-up about the contrast of your navigation on larger screen sizes in case you aren't aware. You may want to consider changing the colour of the text or adding a darker layer on the banner image so that there is more contrast. People with poor eyesight may struggle to see it as it doesn't pass accessibility tests.

alt text

Contrast Ratio 1.77:1 WCAG AA FAIL

-Paul

Squarespace Expert & Professional Developer

screenshot-2019-08-09-at-151654.png.43717730ea8267bd89abe4588e1ac8f4.png

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

Hi Paul,

Thank you for the answer that works perfectly, I've taken a look at the contrast as well and edited the overlay to make it a bit darker hopefully this does the trick.

Making the drop down box transparent has created a new issue in that on the gallery pages I cannot add a Banner image or edit the height and so the white text gets lost in the white background.

Is there a way to insert some code to make the banner on those pages bigger?

@Paul2009

https://www.bandrcarpet.co.uk/runners

Thanks for your help!

Steve

Posted

Hi Paul,

Thank you for the answer that works perfectly, I've taken a look at the contrast as well and edited the overlay to make it a bit darker hopefully this does the trick.

Making the drop down box transparent has created a new issue in that on the gallery pages I cannot add a Banner image or edit the height and so the white text gets lost in the white background.

Is there a way to insert some code to make the banner on those pages bigger?

@Paul2009

https://www.bandrcarpet.co.uk/runners

Thanks for your help!

Steve

Posted

You could make the header taller, but it's probably better to restore the dark background on the folder because the header height then remains consistent throughout. You could do this by adding:


#collection-5b2d025c8a922df608278aec #headerNav nav .subnav, #sidecarNav nav .subnav {
 background-color: #212121;
}




Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

Hi Paul,

How would I make the header taller? As I really like the transparent folder and also the banner is taller on all our other pages anyway?

Does the code you have sent make the folder dark on all he pages or only on the gallery/runner gallery pages?

  • 2 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.