Jump to content

Adjusting Mobile Header Navbar 7.1

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

I added the code, but it still doesn't seem to work. Here is my complete custom css:

 

@media screen and (max-width:767px) {
.homepage #page section:first-child {
    padding-top: 150px !important;
}
}

a.header-nav-folder-title:hover+div,.header-nav-folder-content {
    text-align: center !important;
    position: absolute;
    background: #9B8A7D !important;
    left: 40% !important;
    right: unset !important;
    -webkit-transform: translatex(-50%);
    -o-transform: translatex(-50%);
    transform: translatex(-50%);
}

header {
position: absolute;
 width: 100%;
z-index: 4;
}

 

Link to comment

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.