Jump to content

Trouble with center alignment on mobile

Recommended Posts

I have a site I'm working on 

I'm having issues with my H1s not displaying in the center on mobile and tablet.

It could be the font itself, but I'm not sure. Any ideas on how to center with CSS? Just mobile/tablet only.

Screen Shot 2022-06-27 at 3.59.31 PM.png

Screen Shot 2022-06-27 at 3.59.37 PM.png

Edited by zwilbourn
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Try adding to Design > Custom CSS

@media screen and (max-width:767px) {
div#block-fcd6d2e4ef56ff549916 h1 {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    justify-content: center;


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.