jesleacreative Posted October 8, 2023 Posted October 8, 2023 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
Solution paul2009 Posted October 8, 2023 Solution Posted October 8, 2023 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 ⬇️ Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
jesleacreative Posted October 8, 2023 Author Posted October 8, 2023 @paul2009 thanks so much! Fixed 🙂
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment