jesleacreative Posted October 8 Share Posted October 8 Trying to make my category title centre aligned on mobile, and have some space in between it and the first row of products, but I'm thinking some of the code I have currently on my site is preventing it from working, is someone able to help with a solution please? Site is https://www.cocoandlen.com.au/postpartum-beyond Link to comment
Solution paul2009 Posted October 8 Solution Share Posted October 8 5 hours ago, jesleacreative said: Trying to make my category title centre aligned on mobile, and have some space in between it and the first row of products @jesleacreative You can override these two defaults with some custom CSS: /* Mobile styles */ @media screen and (max-width: 767px) { .products.collection-content-wrapper .nested-category-title { /* Center align category title on PLP */ text-align: center; /* Increase margin below category title */ margin-bottom: 17px; } } Before and after the CSS: . Did this help? Please give feedback by clicking an icon below ⬇️ About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
jesleacreative Posted October 8 Author Share Posted October 8 @paul2009 thanks so much! Fixed 🙂 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment