fleet Posted August 11, 2020 Share Posted August 11, 2020 Site URL: https://coral-bumblebee-7bh4.squarespace.com/ I have a lot of custom CSS code to adjust things. I'm using the yui ID from the html element (e.g. "yui_3_17_2_1_1597110450591_629") to select specific objects to apply edits to. However, after I make an edit to the site, all of the "yui_7_..." ids change, so I lose all my CSS edits. Does anyone know a workaround for this? Link to comment
paul2009 Posted August 11, 2020 Share Posted August 11, 2020 The “yui” IDs change; “block-yui” IDs do not. See the guide that I wrote here: In Squarespace, what are the differences between #block-yui and #yui selectors? About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
fleet Posted August 12, 2020 Author Share Posted August 12, 2020 @paul2009 you are a legend. Great blog post, was exactly what I was looking for. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.