Jump to content

#block-yui CSS not working

Recommended Posts

Site URL: https://www.chrisstampar.com

Hey everyone. So I have a text block in a sidebar of a blog and I want to change the text color of just this text in one block. I used the chrome extension for block identification to get the block i'm after, and verified this should be the correct block-id with inspect tool but when I put this in my custom css panel:

#block-yui_3_17_2_1_1612593349735_5979
h1 {color:white;}

...nothing changes. I also have tried putting the .collection-kj3k43..... value before #block-yui also to no avail.

This is weird because there are many other #block-yui IDs that I am using custom CSS on, but for some reason this particular one fails. Any help would be much appreciated, thank you!

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

1 hour ago, cstampar said:

I have a text block in a sidebar of a blog and I want to change the text color of just this text in one block. I used the chrome extension for block identification to get the block i'm after, but when I put this in my custom css panel:

#block-yui_3_17_2_1_1612593349735_5979
h1 {color:white;}

...nothing changes.

I don't see a block with this ID on the /stories page. The only h1s that I can see are in the site title and blog titles. There's not an h1 in the sidebar. Can you point what you want to change please?

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.