Jump to content

How to left-align headers just on mobile

Recommended Posts

Site URL: https://www.craigkleila.com/

Password to site is "password"

On mobile for all four of my case studies, I want the "The Solution" and "The Results"  headers to be left-aligned. I want them to stay centered on desktop. How can I do this? When I change the alignment from center to left in the mobile view, it also changes the desktop view.

Here's one of my case studies - https://www.craigkleila.com/epic-reads-case-study.

 

 

 

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add to Design > Custom CSS

/* center mobile text */
@media screen and (max-width:767px) {
div#block-1d059d686d8bc4e3cc4f * {
    text-align: left !important;
}
.fe-block.fe-block-f56f8bdbd32d6261f262 * {
    text-align: left !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.