Jump to content

Div ID Changes on Page Reload

Recommended Posts

  • Replies 4
  • Views 3.8k
  • Created
  • Last Reply
Posted
14 minutes ago, tuanphan said:

target #block-yui

Reference: How to find Block ID

I don't quite understand. I don't think these particular elements have a "block" ID. I can target .sqs-row but not just a single row by itself. The ID's for the rows are not static.

Posted
1 minute ago, mrjack16 said:

I don't quite understand. I don't think these particular elements have a "block" ID. I can target .sqs-row but not just a single row by itself. The ID's for the rows are not static.

target #block-yui

then use code like this

div#block-yui_3_17_2_1_1575584262469_19518+.row {
    background: green !important;
}

image.thumb.png.251c27df784c23cf2c7eee2ef951d817.png

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted
5 minutes ago, tuanphan said:

target #block-yui

then use code like this


div#block-yui_3_17_2_1_1575584262469_19518+.row {
    background: green !important;
}

image.thumb.png.251c27df784c23cf2c7eee2ef951d817.png

Ok got it. I thought that block was the side spacer so I wasn't even looking at it. Thank you!

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.