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
  • 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

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

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.