Jump to content

Logo size on mobile

Recommended Posts

  • 11 months later...
Posted

Hi there, it's not working for me. I input the code, but the logo height on mobile isn't changing. Do you think it's possible the mobile bar padding is limiting it or something? Any advice greatly appreciated, thank you!

Posted

@coriwhat

Most likely the issue you are having is the code was designed for a different version of Squarespace or you are using a different template.

Please post the URL for your site.

If your site is not public please set up a site-wide password, if you've not already done so. Post the password here.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted
On 11/5/2020 at 7:32 AM, coriwhat said:

Hi there, it's not working for me. I input the code, but the logo height on mobile isn't changing. Do you think it's possible the mobile bar padding is limiting it or something? Any advice greatly appreciated, thank you!

Can you share site url or template name? We can check easier

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!)

  • 4 weeks later...
Posted
19 hours ago, coriwhat said:

Hey @tuanphan wondering if I can follow up on this - thank you for your help!!

 

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
.header-title-logo {
    width: 300px;
    padding-left: 0 !important;
}
}

 

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!)

  • 1 year later...
Posted

I'm having the same problem with a tiny logo on mobile for my site at www.jacksonchoice.com

I tried inserting the code you shared, but it hasn't fixed it.

Thanks,

Posted
10 hours ago, adamrosa said:

I'm having the same problem with a tiny logo on mobile for my site at www.jacksonchoice.com

I tried inserting the code you shared, but it hasn't fixed it.

Thanks,

Add to Design > Custom CSS

/* mobile header logo */
@media screen and (max-width:768px) {
#header #logoWrapper #logoImage img, #header #siteTitleWrapper #logoImage img {
    max-height: 100px !important;
}
}

 

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!)

  • 1 year later...
Posted
On 1/23/2023 at 10:21 PM, frankmar said:

Hi all, thanks for the help.

I've tried each snipped posted on this thread but non of them are working. I still see my logo tiny on mobile. Any ideas what could be the problem?

Here's my website: https://www.marsolltd.cl/

Thank you!

Add this to Design > Custom CSS

.mobile-branding-wrapper .mobile-logo-image a {
    max-width: 100px !important;
}

 

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!)

Posted
On 1/20/2022 at 7:40 PM, tuanphan said:

Add to Design > Custom CSS

/* mobile header logo */
@media screen and (max-width:768px) {
#header #logoWrapper #logoImage img, #header #siteTitleWrapper #logoImage img {
    max-height: 100px !important;
}
}

 

This worked great but I needed to remove the "important" as it messed with my autoplay video formatting for some reason. Thanks!

Posted
On 1/29/2023 at 6:32 AM, Lumenarius said:

This worked great but I needed to remove the "important" as it messed with my autoplay video formatting for some reason. Thanks!

Hi,

Did you solve or still need help with the code?

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!)

  • 5 months later...
Posted

If you look at any of the non-home pages (Projects - About - Monograph - Contact) 

You'll see that the Blue Logo is much larger on the mobile site - oppose to the home page (White logo) which is a good size.

Posted
20 hours ago, KG_LDG said:

If you look at any of the non-home pages (Projects - About - Monograph - Contact) 

You'll see that the Blue Logo is much larger on the mobile site - oppose to the home page (White logo) which is a good size.

Replace this code

<style>
            div.header-title-logo a {
                content: url("https://static1.squarespace.com/static/64ad83554ca3f02ba636f743/t/64c95d7a5d0bc15becbab7e8/1690918266356/LDG+LA+TEXT+LOGO_BLUE+2.png") !important;
                max-width: 380px;
            }
        </style>

with this code

<style>
    header#header img {
                content: url(https://static1.squarespace.com/static/64ad83554ca3f02ba636f743/t/64c95d7a5d0bc15becbab7e8/1690918266356/LDG+LA+TEXT+LOGO_BLUE+2.png) !important;
            }
        </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!)

Posted
21 hours ago, KG_LDG said:

That did resolve the mobile sizing but made the desktop sizing massive.

Is there a mobile specific code?

That code will replace mobile + Desktop to new logo

If you want the code different for desktop/mobile, use this new code

<style>
  /* for desktop */
    .header-display-desktop img {
                content: url(https://static1.squarespace.com/static/64ad83554ca3f02ba636f743/t/64c95d7a5d0bc15becbab7e8/1690918266356/LDG+LA+TEXT+LOGO_BLUE+2.png) !important;
            }
  /* for mobile */
   .header-display-mobile img {
                content: url(https://static1.squarespace.com/static/64ad83554ca3f02ba636f743/t/64c95d7a5d0bc15becbab7e8/1690918266356/LDG+LA+TEXT+LOGO_BLUE+2.png) !important;
            }
        </style>

Replace with corresponding image url

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!)

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.