Hello,
I’m trying to overwrite a sentence inside h1 with strong attributes (see below) to make it weight 300.
Instead of doing this manually (it’s on many product descriptions) I’m looking for a rule to be applied.
I tried adding CSS selector such as font-weight: 300!important, h1 > strong, h1 * or h1 strong but it didn’t work. For the last three, it says it’s an ‘Invalid custom CSS: Only individual selectors, comma-separated lists of selectors or combiner selectors are supported’.
Any idea how I can do this ?
Thanks
Hi @alicepelletier ,
Can you give me your page URL( with pass if your store password is enabled) so I can check it for you?
Kind & Best regards,
GemPages Support Team
Hello,
Texts in the description to be unbold are H1 and H2 :
[image: Capture d’écran 2023-02-23 à 10.21.49.png]
Any idea how I should do it?
Many thanks
Alice
Hi [email removed]Alicepelletier,
you can check theme.liquid or product-recommendations.liquid to search this CSS and remove it
You can search with the keyword "#shopify-section-template–16696855167200__main h1
Hope my solution works perfectly for you!
Best regards,
Victor | PageFly
Hi @alicepelletier ,
Glad to support you today.
To can reduce font weight, you can check out my suggestion below to make it:
- Go to Edit code on Online Store:
- add my code above the tag on Theme.liquid:
Eg:
I hope you find the answer helpful.
Kind & Best regards,
GemPages Support Team.
It worked perfectly. Thank you !