Rosemarie Posted February 19, 2021 Share Posted February 19, 2021 (edited) Hi All, On an unlinked project page I need to make the menu and footer invisible. Found a great code somewhere, works like a charm. One issue: When creating a subscription form, or contact form, the white boxes in which you would need to type are invincible. See screenshot with and without code. Underneath the piece of code that makes the menu and the footer dissappeer (which I need). How can I change it so I do have the white subscription boxes? Many thanks in advance!! <style>#header { display: none !important; } #preFooter { display: none !important; } #footer { display: none !important; } #page { width: 100% !important; min-height: 700px !important; padding:20px !important; margin: 0px !important; max-width: 100% !important; }</style> <style> #footerBlocksTop, #footerBlocksMiddle, #footerBlocksBottom { display: none !important; } .sqs-announcement-bar-custom-location { display: none !important; } .Header, .Header--top { display: none !important; } .Header-inner, .Header-inner--bottom; { display: none !important; } .Header-inner, .Header-inner--bottom { display: none !important; } .Footer-inner, .clear { display: none !important; } </style> Edited February 19, 2021 by Rosemarie Code not in code box Link to comment
tuanphan Posted February 22, 2021 Share Posted February 22, 2021 Hi. Can you share site url? We can help easier 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
Rosemarie Posted February 23, 2021 Author Share Posted February 23, 2021 <style> /* hide desktop header */ header.Header { display: none !important; } /* hide mobile header */ div.Mobile-bar { display: none; } /* hide footer */ footer.Footer { display: none !important; } </style> Thank you Tuanphan for your help via mail and the new and improved code that solved the issue. Hereby I share it in the forum so anyone who needs it in the future can use it! 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