SourceProjects Posted October 31, 2022 Share Posted October 31, 2022 Hi guys, I am working on a site for a client and no matter what I do in style settings or in CSS injections, I cannot seem to change the product title sizes in the product pages. The default is H1, which doesn't look right... I have a feeling it could be to do with the sitewide fade-in transition settings, which might be interfering... But I don't want to remove that effect either! If anyone has any ideas, I would be grateful for your help. Here is an example of a product link on the site. Link to comment
Solution paul2009 Posted October 31, 2022 Solution Share Posted October 31, 2022 36 minutes ago, elizabethgaffney said: I am working on a site for a client and no matter what I do in style settings or in CSS injections, I cannot seem to change the product title sizes in the product pages. When you are using the 'Simple' Product Detail Page (PDP) layout you can set the style of the item name within the Site Styles panel: However, I see that you are using one of the newer PDP layouts ('Full'). Squarespace designers decided that these layouts would have fixed designs and so the site styles do not affect them. The heading size is calculated according to the browser width. In theory you could use some CSS to try to modify the font manually but, in all honesty, I don't recommend it as it could layout issues for visitors on some devices. However, if you want to try it, here's an example... .pdp-layout .pdp-details .pdp-details-title { font-size: 32px; } Did this help? Please give feedback by clicking an icon below ⬇️ ines_studiopancake and SourceProjects 1 1 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. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
SourceProjects Posted October 31, 2022 Author Share Posted October 31, 2022 Hi Paul, Thank you so much for your response and suggestion! I didn't realise that these new layouts would override style settings... Your CSS snippet seems to have worked wonderfully! It looks so much better now, many thanks. 37 minutes ago, paul2009 said: When you are using the 'Simple' Product Detail Page (PDP) layout you can set the style of the item name within the Site Styles panel: However, I see that you are using one of the newer PDP layouts ('Full'). Squarespace designers decided that these layouts would have fixed designs and so the site styles do not affect them. The heading size is calculated according to the browser width. In theory you could use some CSS to try to modify the font manually but, in all honesty, I don't recommend it as it could layout issues for visitors on some devices. However, if you want to try it, here's an example... .pdp-layout .pdp-details .pdp-details-title { font-size: 32px; } Did this help? Please give feedback by clicking an icon below ⬇️ paul2009 1 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