Jump to content

Simple Question: How to change colors of H1 on diff pages?

Recommended Posts

Site URL: https://www.xianfoods.com/shop/box-of-10-xff-chili-oil-packs

Hi,

I'm just trying to achieve something simple: how do I change the "CARE PACKAGE OF 10 XFF CHILI OIL PACKS" (which is white right now, and not very visible) to black? I tried injecting the following into the Products Settings->Advanced-> page header code injection for this product, but nothing happens:

<style>
h1#yui_3_17_2_1_1587420612063_349 .product-title {color: #000000;}
</style>

Thank you

Link to comment
  • Replies 1
  • Created
  • Last Reply

#yui is dynamic ID. 

Use #block-yui

Use this tool to find block yui id. https://chrome.google.com/webstore/detail/squarespace-collectionblo/bggpdfnccodbnmcndckmeehdjkjojkde

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.