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? Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? 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.