tjingrassia Posted August 16 Share Posted August 16 Using "page header code injection" I've been able to remove my 7.0 site header and menu from a single page on the Desktop version, but I can't get the dropdown menu to disappear from the Mobile version. I've tried every piece of code from every forum and website I could find, but nothing works. For reference, here's the current code I'm using to remove the header/menu... <style> header#header, footer.sections { display: none !important; } </style> Any ideas? Link to comment
HoaLT Posted August 16 Share Posted August 16 1 hour ago, tjingrassia said: Using "page header code injection" I've been able to remove my 7.0 site header and menu from a single page on the Desktop version, but I can't get the dropdown menu to disappear from the Mobile version. I've tried every piece of code from every forum and website I could find, but nothing works. For reference, here's the current code I'm using to remove the header/menu... <style> header#header, footer.sections { display: none !important; } </style> Any ideas? Can you share your URL so we can check it? Press 👍 or mark my comment as solution if you find my sharing useful 🆒 Squarespace pinchzoom lightbox plugin (affiliate link) 👁🗨 360 degree photo viewer (affiliate link) Link to comment
tjingrassia Posted September 2 Author Share Posted September 2 https://www.tjingrassia.com/mdvmods Spark-Plugin 1 Link to comment
Spark-Plugin Posted September 2 Share Posted September 2 Hello there, Try adding this code to the page injection- <style> header#header, footer.sections { display: none !important; } @media only screen and (max-width: 768px) { .mobile-menu { display: none !important; } } </style> Let me know if this works! tuanphan 1 - Answered by the team at sparkplugin.com Link to comment
tjingrassia Posted September 12 Author Share Posted September 12 Nope, the mobile menu dropdown is still there. Link to comment
Solution tuanphan Posted Tuesday at 01:25 AM Solution Share Posted Tuesday at 01:25 AM On 9/12/2024 at 9:45 PM, tjingrassia said: Nope, the mobile menu dropdown is still there. You can use this to Website Tools > Custom CSS #collection-66bec04694fa39336e8d5c9b div#mobileMenuLink { display: none !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
tjingrassia Posted yesterday at 01:57 AM Author Share Posted yesterday at 01:57 AM Huzzah, that did it! Thanks so much! 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