Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Hide the green sidebar on mobile @media Reply To: [Solved] Hide the green sidebar on mobile @media

#189732
jamygolden
Member

Try this:

@media (max-width: 979px) {
    .belowleftmenu  {
        display: none;
    }
}

In your example above you’re hiding #belowleftmenu but only the class . belowleftmenu exists on the page.

If you can you should try and aim for a mobile first design. You should give this HTML5Rocks article a read.