Jump to content

Alternate logo on certain pages on mobile

Recommended Posts

13 hours ago, Jules_Designsthings said:

Site URL: http://dragonfly-drum-g8n7.squarespace.com

hello! I am trying to add an alternate logo on all pages except for the home page, on mobile. I have done it on desktop via CSS page code injection, however cant seem to get it to work for mobile.
Thank you!! :}

After checking your site, i 've found that on all pages on mobile, you just set 1 image link for the header-mobile-logo.

For change logo image for all pages except home page, you can try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  body:not(#collection-615cff0dde2f40474698075b) .header-mobile-logo a {
    /*Change the url with your logo image link for all page except home page*/
    content: url("https://images.unsplash.com/photo-1593642532781-03e79bf5bec2?ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=388&q=80");    
  }
}

Let me know if it works properly on your site

Support me by pressing 👍 if this useful for you

Edited by bangank36

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, Keyword Highlighter
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.