Jump to content

How can I center this text just on mobile?

Go to solution Solved by Ziggy,

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

 You need to use a media query in the Custom CSS to target mobile (using screen max-width), and then target the text block with the block ID, and then set the text alignment to center:

@media screen and (max-width:749px) {
  #block-yui_3_17_2_1_1660700494123_911821 {
    text-align:center !important;
  }
}

Let me know if that works for you!

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

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.