Jump to content

Heading text is not centered on the mobile device

Recommended Posts

Site URL: https://glassceiling.squarespace.com/

Hello,

Greetings to all members!
I have one problem that I have not been able to solve yet.
It's ok on the desktop. But the problem is on mobile devices.
Heading is not centered in any section.
I tried several fonts and the problem is always the same.

https://glassceiling.squarespace.com/
Password: glasssf

If anyone has a suggestion, I would be very grateful.

Screen Shot 2022-02-18 at 12.01.51 AM.jpg

Screen Shot 2022-02-18 at 12.02.28 AM.jpg

Link to comment
43 minutes ago, IRDESIGN said:

Site URL: https://glassceiling.squarespace.com/

Hello,

Greetings to all members!
I have one problem that I have not been able to solve yet.
It's ok on the desktop. But the problem is on mobile devices.
Heading is not centered in any section.
I tried several fonts and the problem is always the same.

https://glassceiling.squarespace.com/
Password: glasssf

If anyone has a suggestion, I would be very grateful.

Screen Shot 2022-02-18 at 12.01.51 AM.jpg

Screen Shot 2022-02-18 at 12.02.28 AM.jpg

I am not sure which code you used that make the h2 style with white-space: pre-wrap;

image.thumb.png.52379fcd40b07b99de477e435927877c.png

You can try  adding to Home > Design > Custom Css to overwrite it

h2 {
  white-space: unset !important;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.png.5d8e305710ae59c9d3c65b09ca40933a.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
5 minutes ago, bangank36 said:

I am not sure which code you used that make the h2 style with white-space: pre-wrap;

image.thumb.png.52379fcd40b07b99de477e435927877c.png

You can try  adding to Home > Design > Custom Css to overwrite it

h2 {
  white-space: unset !important;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Thank you very much!
It's perfect now.

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.