Jump to content

Navigation Menu: Transparency & Padding

Recommended Posts

Hi everyone, I am very new to Squarespace, and CSS, so please bare with me.
 
I have made a 'burger' menu which leads to a full screen navigation menu with all my pages.
 
How do I make this full screen navigation menu transparent? So that my home screen will be partially visible too.
 
Also, how would I move my page titles closer together, so that they are all on the same page? Rather than having to scroll down to see them all.
 
This is my current code, if that helps at all:
/* 768 for tablet - desktop - 992 for desktop */
@media screen and (min-width:768px) {
/* hide navigation */ }
.header-nav {
display: none;}
/* Hide header button */
.header-actions {
display: none;
}
/* show burger */
.header-burger {
display: flex;
}
body#item-5f47b82d8ee0877c453a2053
.section-background, .page-section {
background: transparent !important;
}
/* Show overlay mobile menu */
.header--menu-open .header-menu {
opacity: 1;
visibility: visible;
}
.burger-inner .top-bun, .burger-inner .patty, .burger-inner .bottom-bun {
transition-duration: 900ms, 900ms !important;
}
@keyframes slide-down{ from {bottom:90%; opacity:0;} to {bottom: 0%; opacity:1}} .header--menu-open .header-menu {animation-name: slide-down; animation-duration:2s}
Thanks a lot!
 
Password: MarriottComms

Screenshot 2021-01-29 at 3.50.58 PM.png

Link to comment
  • Replies 1
  • Views 719
  • Created
  • Last Reply

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.