Jump to content

Hiding Logo on Mobile Only

Recommended Posts

  • 2 years later...
On 1/5/2020 at 3:48 AM, tuanphan said:

Add to Home > Design > Custom CSS

@media screen and (max-width:800px) {
#logo .logo.image img {display: none !important;}
}

 

I had issues with the above code hiding the logo on mobile, but this code in red worked for me:


/* Remove logo from desktop homepage */
.homepage .header-title-logo {
  display: none!important;
}


/* remove mobile homepage logo */
body.homepage .header-mobile-logo{
    visibility: hidden;
}

Edited by Hilco
Link to comment
12 hours ago, Hilco said:

I had issues with the above code hiding the logo on mobile, but this code in red worked for me:


/* Remove logo from desktop homepage */
.homepage .header-title-logo {
  display: none!important;
}


/* remove mobile homepage logo */
body.homepage .header-mobile-logo{
    visibility: hidden;
}

My code is for Squarespace 7.0 version.

Your code is for Squarespace 7.1 version.

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
  • 2 months later...
On 9/30/2022 at 2:43 PM, Hilco said:

I had issues with the above code hiding the logo on mobile, but this code in red worked for me:


/* Remove logo from desktop homepage */
.homepage .header-title-logo {
  display: none!important;
}


/* remove mobile homepage logo */
body.homepage .header-mobile-logo{
    visibility: hidden;
}

On 10/1/2022 at 3:40 AM, tuanphan said:

My code is for Squarespace 7.0 version.

Your code is for Squarespace 7.1 version.

All three versions of the code do not work at all for me. I am on 7.1 and I only managed to remove the logo completely from the website (desktop and mobile). Inspect in Chrome shows that no matter the screen resolution, the website treats logo as "header-title-logo" and it is used for both desktop and mobile.

 

Would you know how to fix it?

 

Link: https://www.ecoflame.ca/store/p/el-camino-24-2es64-6mnh2-gwfnb

Link to comment
On 12/2/2022 at 6:54 AM, Pimlico6ix said:

All three versions of the code do not work at all for me. I am on 7.1 and I only managed to remove the logo completely from the website (desktop and mobile). Inspect in Chrome shows that no matter the screen resolution, the website treats logo as "header-title-logo" and it is used for both desktop and mobile.

 

Would you know how to fix it?

 

Link: https://www.ecoflame.ca/store/p/el-camino-24-2es64-6mnh2-gwfnb

To hide Logo on mobile only, use this CSS

@media screen and (max-width:767px) {
	header#header img {
		visibility: hidden !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!)

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.