Jump to content

Custom logo for specific pages repeating on mobile view

Recommended Posts

Hi there, I have added in a reversed out logo to some of my website pages through adding in the below code into the pages advanced settings: page header code injection.

 

<style>

.header-title{
 background-image:url('https://static1.squarespace.com/static/66ba8d2959936e7dcf9596a3/t/66bae15a7e13c233418d70c0/1723523419303/logo+black.png');
 background-size: contain

.header-title img{
opacity:0

</style>

it works great on desktop, but when switched to mobile view the logo appears to have duplicated. Is there something I have done wrong in the code? Would appreciate some help! 

 

site pw is 1234

Screenshot 2024-08-14 at 2.28.13 PM.png

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

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.