Isha Posted August 5, 2020 Share Posted August 5, 2020 I am trying to apply a color change animation in the background, which works perfectly if I use .section-background {} and insert my animation code. However, I want to apply it only to a specific section, and not every section in the page. I've tried using the id as follows: #collection-5e01c1ef7645b07c060d1849.section-background {} which doesn't seem to work. Any ideas on how to use the id and the section-background property? If I just use the id #collection-5e01c1ef7645b07c060d1849 then it animates over all the content in the block. Thank you! Link to comment
tuanphan Posted August 5, 2020 Share Posted August 5, 2020 Each section has [data-section-id="...abcxyz"] [data-section-id="tuanphan"] .section-background {your code} Find id with https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en 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!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.