mrjack16 Posted December 6, 2019 Posted December 6, 2019 I'm trying to target some specific divs on my page but the div ID changes every time you reload the page. Is there a different static way to target these elements? Page: https://blenny-oarfish-24kk.squarespace.com/ourstaff Password: blenny I am targeting the row here but these are the ID's that change on every page load:
tuanphan Posted December 6, 2019 Posted December 6, 2019 target #block-yui Reference: How to find Block ID 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!)
mrjack16 Posted December 6, 2019 Author Posted December 6, 2019 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.
tuanphan Posted December 6, 2019 Posted December 6, 2019 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; } 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!)
mrjack16 Posted December 6, 2019 Author Posted December 6, 2019 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; } Ok got it. I thought that block was the side spacer so I wasn't even looking at it. Thank you!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.