Jump to content

Need css help with logo change also on mobile for specific page

Recommended Posts

Need css help with logo change also on mobile for specific page

Thanks!

https://www.texasgrandchapel.org/counseling-home

 

CSS Im using now:

<style>
  header#header.has-logo-image .Header-branding img{display:none}
.has-logo-image .Header-branding img {
    content: url(https://static1.squarespace.com/static/5b32f8a4620b856046835eaa/t/635e97cb5d476971469fa881/1667143627377/Asset+5+%281%29.png#collection-63568126bfd4ba57814422c5)
             
}
</style>


The CSS style Im using works for desktop great changing logo, but not showing change in mobile.

 

Screen Shot 2022-10-30 at 9.18.28 PM.png

Screen Shot 2022-10-30 at 9.18.58 PM.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

15 hours ago, RefugeChurch said:

Need css help with logo change also on mobile for specific page

Thanks!

https://www.texasgrandchapel.org/counseling-home

 

CSS Im using now:

<style>
  header#header.has-logo-image .Header-branding img{display:none}
.has-logo-image .Header-branding img {
    content: url(https://static1.squarespace.com/static/5b32f8a4620b856046835eaa/t/635e97cb5d476971469fa881/1667143627377/Asset+5+%281%29.png#collection-63568126bfd4ba57814422c5)
             
}
</style>


The CSS style Im using works for desktop great changing logo, but not showing change in mobile.

 

Screen Shot 2022-10-30 at 9.18.28 PM.png

Screen Shot 2022-10-30 at 9.18.58 PM.png

You can try adding to Home > Design > Custom Css

#collection-63568126bfd4ba57814422c5 .Mobile-bar-branding img {
  visibility: hidden;
}

#collection-63568126bfd4ba57814422c5 .Mobile-bar-branding {
  background-image: url('https://static1.squarespace.com/static/5b32f8a4620b856046835eaa/t/635e97cb5d476971469fa881/1667143627377/Asset+5+%281%29.png#collection-63568126bfd4ba57814422c5');
  background-size: contain;
  background-repeat: no-repeat;
  background-position:center center;
}

Support me by pressing 👍  or marking as solution if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.thumb.png.ff2a127db81cef0f50ef316033438035.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.