Jump to content

Button colours won't change. They are correct in Safe mode, but can't fix them, even with code.

Go to solution Solved by melody495,

Recommended Posts

The text colour in the buttons on this page: https://www.reflections.photo/instagram are wrong. The text should be the spec'd green colour (#697469) in the site palette and then switch to cream (#F7F7F4) on hover. 

When I preview in Safe Mode, the buttons look proper. So, I've tested removing all Custom CSS, Code Injection and removing the Code Block on this page but can't replicate what I see in safe mode. The Code Block I'm using on this page is a simple <style> code to remove header & footer. 

I've tried adding custom CSS to override this: 

section[data-section-id="65823957b26f5932147364fc"] .sqs-button-element {
  color: #697469 !important;
}

Tried changing the tag to text-color, font-color, etc. to no avail.

Squarespace support has suggested that there is likely a code block on a different page that is affecting this. This seems unlikely as this "Instagram" page is the only page affected so why would a code block on another page randomly choose the "Instagram" page to mess up?

Link to comment
  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution
8 minutes ago, kbradfield said:

The text colour in the buttons on this page: https://www.reflections.photo/instagram are wrong.

Hi @kbradfield the text colour is coming from the settings for Instagram. Try checking the code injection for that specific page (not site wide), you will likely find your custom code in there.

image.thumb.png.356768218c7c62905e35585ee13bd13c.png

Hopefully once you find that code, you can start to unpick what you don't want and your buttons will follow your site wide theme colour palette settings again.

Let me know how it goes!

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

Melody | Squarespace Nerd
e: melody@melodylee.tech


💻 💁‍♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn?
👩‍💻 💁‍♀️ Website help <- send me your to-do list. From code to plugin to domain setup.
🧰 See the tools I use (contain affiliate links)
 Did I help? I like coffee (Thank you)

Link to comment
7 minutes ago, melody495 said:

Hi @kbradfield the text colour is coming from the settings for Instagram. Try checking the code injection for that specific page (not site wide), you will likely find your custom code in there.

image.thumb.png.356768218c7c62905e35585ee13bd13c.png

Hopefully once you find that code, you can start to unpick what you don't want and your buttons will follow your site wide theme colour palette settings again.

Let me know how it goes!

OMG YOU'RE A GENIUS. That worked. Thank you so so much!!!!

Link to comment
6 minutes ago, kbradfield said:

OMG YOU'RE A GENIUS. That worked. Thank you so so much!!!!

You're very welcome! glad it's all working for you 🙂 

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

Melody | Squarespace Nerd
e: melody@melodylee.tech


💻 💁‍♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn?
👩‍💻 💁‍♀️ Website help <- send me your to-do list. From code to plugin to domain setup.
🧰 See the tools I use (contain affiliate links)
 Did I help? I like coffee (Thank you)

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.