Jump to content

css code to align text center for mobile view not aligning center for text that is aligned right in desktop version but is working when the text was aligned left in desktop

Recommended Posts

  • Replies 5
  • Views 788
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

You are using new editor so you can edit page > click Mobile icon on top right > Adjust layout on mobile. This won't affect desktop.

Detail: https://support.squarespace.com/hc/en-us/articles/6421525446541-Editing-your-site-with-Fluid-Engine

In case you want to use code, you can add this to Design > Custom CSS or Website > Website Tools > Custom CSS

/* align center mobile */
@media screen and (max-width:767px) {
.fe-block-c461e9d41998d39cd274, .fe-block-yui_3_17_2_1_1689673570648_14702, .fe-block-bb9e1c1efb0bb85774d5, .fe-block-yui_3_17_2_1_1689673570648_15770, .fe-block-aad12378b9fee3d67686, .fe-block-yui_3_17_2_1_1689673570648_17334, .fe-block-6af2c16f4426d9fb474c, .fe-block-yui_3_17_2_1_1689673570648_19313, .fe-block-c6453da0cd513dcec53d, .fe-block-yui_3_17_2_1_1689673570648_20380 {
    grid-column-start: 3 !important;
    grid-column-end: 9 !important;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.