Jump to content

Product page text aligned to the left on mobile when it should be centered

Go to solution Solved by tuanphan,

Recommended Posts

As you can see in my screenshots, the title is shown centered. However, if i go to any of the subcategories, the title is aligned to the left.

I have a code for it, but it only makes the "Shop" title be centered. 

.products.collection-content-wrapper .nested-category-title {
text-align: center;

What am I doing wrong?

Website is mirelha.xyz/shop

Captura de pantalla 2022-11-06 a les 13.37.40.png

Captura de pantalla 2022-11-06 a les 13.37.53.png

Edited by mireiamireia
Link to comment
  • Solution

Add this to Design > Custom CSS

h2.nested-category-title.nested-category-title-padding {
    justify-content: center !important;
    text-align: center !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.