Jump to content

Code changing button color on webpage

Recommended Posts

So my header video on my webpage is white and I entered the following code to change my logo from being white to black:

<style> 
div.header-title-logo a {
content:url("https://static1.squarespace.com/static/62be1ed4d381561fd3a56266/t/6351781395709916a95a1b92/1666283539559/Brende_Logo_Black.png") !important;     
max-height: 70px;
}

 

The only problem it changes all my buttons on the page to being white. It was originally a maroon button where it says "Hire Me" both in the navigation menu and on a block in a section. 

bbbb.jpg

cc.jpg

Link to comment
  • Replies 2
  • Views 232
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

9 hours ago, JoshBerendes said:

<style> 
div.header-title-logo a {
content:url("https://static1.squarespace.com/static/62be1ed4d381561fd3a56266/t/6351781395709916a95a1b92/1666283539559/Brende_Logo_Black.png") !important;     
max-height: 70px;
}

Where did you place this? In the page header code injection?

It's missing a closing </style> from the end of the code, or did you just not paste it in here? If it's missing that will cause issues.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

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.