Jump to content

Adjusting Mobile Header Navbar 7.1

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
.homepage #page section:first-child {
    padding-top: 150px !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

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

remove my code, add this

@media screen and (max-width:767px) {
.homepage #page section:first-child {
    margin-top: 20px !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.