Jump to content

Custom code suddenly not working only on one site?

Recommended Posts

I have a lot of custom code on my site that hides certain sections on desktop/mobile. It has suddenly stopped working on my personal site, but I checked my clients site (that are on my account) and the exact codes are still working? This is an example of the code, if it helps. Really not sure what the issue is if the exact thing is working on other sites but it's really frustrating!

 

// Hide this block on desktop //
@media only screen and (min-width: 750px) {

#block-yui_3_17_2_1_1676664519374_26359 {

   display: none;

 }

}

Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi, @juliegarcia if probably isn't the exact same code, because the CSS selector would be different. Please can you share the website that you are having issue with, so I can check?

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Squarespace Website Developer
e: melody@melodylee.tech


💻 💁‍♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn?
👩‍💻 💁‍♀️ Customisation help <- send me your design
 Did I help? I like coffee (Thank you)
🧰 See the tools I use (may contain affiliate links)


 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

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