Jump to content

double logo in mobile menu

Recommended Posts

The main, uploaded logo in this website is white. On some pages I've change the logo in the header code to a black logo. I've did this already for many websites, but this time 2 things go wrong:

- You'll see on the desktop version a black line under the logo
- On the mobile version the logo is repeated 

Can somebody help me out?

This is te code I've placed in the header code:

<style>

.header-title{
 background-image:url('https://static1.squarespace.com/static/65cf343da7d0e57f8421179f/t/666870f9d3f2505c2f32e4f9/1718120697480/Logo_RienGriffioen-Zwart.svg');
 background-size: contain

.header-title img{
opacity:0

</style>

-

Many thanks!

Schermafbeelding 2024-08-28 om 09.14.42.png

Schermafbeelding 2024-08-28 om 09.14.53.png

Link to comment
  • Replies 1
  • Views 202
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

If you use the CSS property filter:invert(1); on the logo on the pages where you want it white instead of black it will save you from doubling up on the logo and adding it twice.

If you share your website I can give you the exact code.

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

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

 Did I help? Buy me a coffee?

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.