Jump to content

Help needed to center links on page of mobile website

Go to solution Solved by tuanphan,

Recommended Posts

  • Solution
On 5/5/2021 at 9:36 AM, wkonitzer said:

@tuanphan on mobile top right there are 3 horizontal lines, that clicked bring up new page with icons at the bottom. I believe it's called the "overlay menu" on the mobile design.

Ah okay, I thought desktop menu.

Add to Design > Custom CSS

/* Mobile menu icons */
.header-menu-nav-folder.header-menu-nav-folder--active {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.header-menu-actions {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}
.header-menu-nav-folder-content {
    display: none;
}

If you want 2 columns, just change number 4 to 2
image.thumb.png.3ee4bee1cabe6ace6d6b2269a99b0b81.png

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
  • 2 weeks later...

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.