Jump to content

How to change the logo on mobile view

Go to solution Solved by tuanphan,

Recommended Posts

Hi All,

 

Opening and other pages use different logo types. I am looking for a way to change the logo both on mobile and desktop versions of the website on the other pages. It works on desktop. On mobile view, I couldn't get a response using the code below.

 

<style>
  .header-title-logo a {
    content: url("https://static1.squarespace.com/static/6367f6214598cd043ea9b501/t/63b2e0fef9eeee6d051697d1/1672667390818/Logo_Icon_Black-01.png");
  }
</style>

desktop.jpg

mobile.jpg

Link to comment

Use this new code

<style>
  header#header img {
    content: url(https://static1.squarespace.com/static/6367f6214598cd043ea9b501/t/63b2e0fef9eeee6d051697d1/1672667390818/Logo_Icon_Black-01.png);
  }
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 2/26/2023 at 5:05 AM, tuanphan said:

Thank you for your help. I tried that code again, but this time it looks so small on mobile view that it is almost impossible to recognize if it is a logo.

<style>
  header#header img {
    content: url(https://static1.squarespace.com/static/6367f6214598cd043ea9b501/t/63b2e0fef9eeee6d051697d1/1672667390818/Logo_Icon_Black-01.png);
  }
</style>

 

 

2023-03-04.png

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.