Jump to content

CariTech

Member
  • Posts

    1
  • Joined

  • Last visited

CariTech's Achievements

Level 1

Level 1 (1/20)

1

Reputation

  1. Site URL: https://otennatechnologies.com/ Hi. I have the following CSS code to create a desktop burger and dropdown menu. How do I get rid of the white space above the linear black to red gradient when you click on the hamburger? Thanks. CURRENT CODE .header .header-burger{display:flex} .header-nav, .header-actions {display:none} .header--menu-open .header-menu {font-family: roboto; opacity: 1; visibility: visible; width: 30%; margin-left: 70%; box-shadow: -5px 5px 15px #000000 } div.header-menu-nav-item a { color:white!important; font-size: 20px !important; padding: 10px; } .header-menu-nav-folder-content{background:linear-gradient(to bottom, #000000,#7a1009);} .header-menu-nav-item {line-height: 20px!important;} /* If you only want to have the desktop burger visible this CSS will remove all the */ @media (min-width: 767px) { .header-nav-list a:not([href='/burger']) { display: none; } } @media screen and (min-width:992px) { .header-menu-actions { justify-content: center !important; } .header-menu-cta { position: relative; top: -100px; } }
×
×
  • 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.