Jump to content

Trying to adjust mobile logo sizing

Go to solution Solved by destineesherri,

Recommended Posts

Hello,

I'm trying to adjust my site logo on my home page so that it's smaller on mobile but it doesn't seem to be working. I have some custom code in so that I am able to have a different logo on my homepage than what's on the rest of my site, so I think something is being overridden there somehow. It's working and going to the correct size on mobile on every other page besides my home page so it's just something going wrong there I think. Is anyone able to help? URL is https://destineedesign.com.

Thanks!

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

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

I ended up fixing it by adding the following code to the HTML of the home page.

@media screen and (max-width:767px) {
   div.header-title-logo img {
content:url("https://static1.squarespace.com/static/5f80bf3570ed2f0841ae6672/t/641e784f0b7ca5251ff26b1a/1679718479323/Asset+3.png.") !important;
     max-height: 84px;}
                                                   }

 

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.