thehorn5 Posted July 21, 2023 Posted July 21, 2023 (edited) Does anyone know how to center the "Related Products" text and the images on the shop pages? I'm not a fan of the text aligned to the left on the header. I like the text under the images aligned to the left. I only want the header text and images to be aligned to the center. I was able to achieve something similar in the Additional Info in the product details area, but it shows the same featured products on every page. I would rather them link based on tags. I have attached some screen shots below of how it looks and how I'd rather it look. I have blocked out the product images as I am not ready to launch the store page yet. The grey boxes I do not want as part of the style sheet. Thanks! Edited July 21, 2023 by thehorn5
paul2009 Posted July 21, 2023 Posted July 21, 2023 Please provide a link to the page on your site. 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.
thehorn5 Posted July 21, 2023 Author Posted July 21, 2023 7 hours ago, paul2009 said: Please provide a link to the page on your site. https://www.peytoncooper.com/shop/p/baseball-stitch-illustrator-pattern-brush
Solution tuanphan Posted July 23, 2023 Solution Posted July 23, 2023 On 7/21/2023 at 10:16 PM, thehorn5 said: https://www.peytoncooper.com/shop/p/baseball-stitch-illustrator-pattern-brush You can add this to Design > Custom CSS /* center related products heading */ h2.ProductItem-related-label { text-align: center; } 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!)
thehorn5 Posted July 23, 2023 Author Posted July 23, 2023 25 minutes ago, tuanphan said: You can add this to Design > Custom CSS /* center related products heading */ h2.ProductItem-related-label { text-align: center; } This worked. Thank you!
tsl Posted June 3 Posted June 3 Hey Thanks for this code! only issue i am having is that the text size is not consistent on mobile and desktop! can you help to rectify this please?
tuanphan Posted June 5 Posted June 5 On 6/3/2024 at 5:52 PM, tsl said: Hey Thanks for this code! only issue i am having is that the text size is not consistent on mobile and desktop! can you help to rectify this please? Hi, You mean these text? 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment