Jump to content

Hiding 'menu' from mobile site

Recommended Posts

Posted

Site URL: https://www.artistabroad.com/discount-framed-prints

I am a total noob when it come to coding but I manages to remove the header from one specific landing page by inserting the following custom code: 

<style>
#header { display: none }
</style>
<style>
 #footer {
   display: none; }
</style>

This is working perfectly on a desktop computer but on a mobile site I still get the word 'Menu' at the top of the page. Can someone please tell me what code I need to enter to remove this? 

Also, when adding this new code do I just ender it after the previously mentioned code or before? 

Thanks in advance!

Denise

IMG_7391.jpeg

  • Replies 1
  • Views 544
  • Created
  • Last Reply
Posted
On 5/11/2021 at 1:35 AM, Esined said:

Site URL: https://www.artistabroad.com/discount-framed-prints

I am a total noob when it come to coding but I manages to remove the header from one specific landing page by inserting the following custom code: 

<style>
#header { display: none }
</style>
<style>
 #footer {
   display: none; }
</style>

This is working perfectly on a desktop computer but on a mobile site I still get the word 'Menu' at the top of the page. Can someone please tell me what code I need to enter to remove this? 

Also, when adding this new code do I just ender it after the previously mentioned code or before? 

Thanks in advance!

Denise

Use this code

<style>
  #header, #footer, div#mobileMenuLink {
    display: none !important;
}
</style>

 

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!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.