Jump to content

ID Tag Keeps Changing

Recommended Posts

Hey guys,

Can anyone help me out with injecting code targeting class IDs? Every time I try to target an ID to manipulate a piece of my site, the ID changes and the code injection goes away. These are for cases in which I don't want to target the whole class.  Am I missing something? Can anything be done about this?  It annoys the _____ out of me. 

 

Example

#yui_3_17_2_1_1582807800188_755
 
{
  background-color: #e399e3 !important;
   padding: 0px 8px 0px 8px;
  color: #ffffff
}

"#yui_3_17_2_1_1582807800188_755"     < ----- This number changes with every site update.

 

Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply
44 minutes ago, LycheeMothCreative said:

Every time I try to target an ID to manipulate a piece of my site, the ID changes

See the guide that I published below. It should help to explain. If you need specific help after reading this, please post a working link to the site.

https://sf.digital/squarespace-solutions/in-squarespace-what-are-the-differences-between-block-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

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.