Amval Posted January 5, 2021 Share Posted January 5, 2021 (edited) I have 2 footers setup, one for desktop and one for mobile. I'm using this code to show/hide the footers in the different media queries: /* remove mobile footer on desktop only */ @media screen and (min-width:780px) { #yui_3_17_2_1_1609860234096_434 { display: none !important; } } /* remove desktop footer on mobile only */ @media screen and (max-width:781px) { #yui_3_17_2_1_1609860234096_411 { display: none; } } The code works when I'm in Squarespace but when I view in live mode I see both footers. Please help! Edited January 13, 2021 by Amval Link to comment
tuanphan Posted January 7, 2021 Share Posted January 7, 2021 Hi. Target #block-yui Don't target #yui 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
Amval Posted January 7, 2021 Author Share Posted January 7, 2021 I don't see a #block-yui for the footer. Any suggestions? Link to comment
tuanphan Posted January 10, 2021 Share Posted January 10, 2021 On 1/8/2021 at 4:47 AM, Amval said: I don't see a #block-yui for the footer. Any suggestions? If 7.1, you can target data-secion-id, use this tool. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en 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
Amval Posted January 11, 2021 Author Share Posted January 11, 2021 On 1/10/2021 at 1:40 AM, tuanphan said: If 7.1, you can target data-secion-id, use this tool. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en On 1/6/2021 at 10:30 PM, tuanphan said: Hi. Target #block-yui Don't target #yui On 1/10/2021 at 1:40 AM, tuanphan said: If 7.1, you can target data-secion-id, use this tool. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en Thank you! Link to comment
tuanphan Posted January 13, 2021 Share Posted January 13, 2021 On 1/11/2021 at 11:03 PM, Amval said: Thank you! Have you solved it yet? 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