adurward Posted January 5, 2020 Share Posted January 5, 2020 Hello, I'd love to be able to hide my logo on my mobile site only, I love how it looks on desktop but it takes up too much room that just doesn't make sense at the top of the page on mobile. www.ariarosedurward.com Link to comment
tuanphan Posted January 5, 2020 Share Posted January 5, 2020 Add to Home > Design > Custom CSS @media screen and (max-width:800px) { #logo .logo.image img {display: none !important;} } adurward and JonPall 1 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Hilco Posted September 30, 2022 Share Posted September 30, 2022 (edited) 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 September 30, 2022 by Hilco Link to comment
tuanphan Posted October 1, 2022 Share Posted October 1, 2022 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Pimlico6ix Posted December 1, 2022 Share Posted December 1, 2022 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
tuanphan Posted December 4, 2022 Share Posted December 4, 2022 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment