Jump to content

Archived

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

pehja

Hide Navi in mobile, on front page only

Recommended Posts

pehja

I have Multimenu on my starter page. On the rest i have Navi. I can hide the Navi on my front page on desktops. But how can I hide it on Mobile devices. If I hide it using "DMS dev tools" I hide it on all the pages and that´s not what I want.

 

http://pehjaproduction.se

 


Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
Danny

HI,

Use CSS and display: none via a media query and prefix the code with the .home class. Like so:

 

@media screen and ( Add width here ) {
  .home .section-navi {
    display: none !important;
  }
}

Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×