brickfur Posted November 11, 2021 Share Posted November 11, 2021 Site URL: http://www.heirloome.net/gathering Hi, I have an series of index pages I'm making. I'm using the following code to change the colours of fonts on each section (using block IDs because I can't find code to change font for an entire section on the index page which is what I actually want to do); #block-618a1a2b72a5c33f7cc199ed h1, h2, h3, { color: #000000 !important; } However - when I do this, I then go to another index page for example, and the fonts are changing there too, when I don't want them to. It's making my site unreadable & I have no idea how to fix it. Examples attached of blocks I *didn't* try to target with the above code, being changed to black, when I have existing code in there changing them to white... Link to comment
Beyondspace Posted November 11, 2021 Share Posted November 11, 2021 1 hour ago, brickfur said: Site URL: http://www.heirloome.net/gathering Hi, I have an series of index pages I'm making. I'm using the following code to change the colours of fonts on each section (using block IDs because I can't find code to change font for an entire section on the index page which is what I actually want to do); #block-618a1a2b72a5c33f7cc199ed h1, h2, h3, { color: #000000 !important; } However - when I do this, I then go to another index page for example, and the fonts are changing there too, when I don't want them to. It's making my site unreadable & I have no idea how to fix it. Examples attached of blocks I *didn't* try to target with the above code, being changed to black, when I have existing code in there changing them to white... To find out the section ID in squarespace template, you can install the Squarespace id finder Here is how you can use: https://recordit.co/Aj9vXw6rfY You can try using it to set style for your entire section BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! 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