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
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Add to Design > Custom CSS.

@media screen and (min-width:768px) {
.header-menu-bg.theme-bg--primary {
    background-color: rgba(255,255,255,0.2) !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.