[Resolved] Change from [content-no sidebar] to [content-sidebar] responsively

Home Forums Support [Resolved] Change from [content-no sidebar] to [content-sidebar] responsively

Home Forums Support Change from [content-no sidebar] to [content-sidebar] responsively

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #180957
    Pete

    Hi Tom I’ve got challenge for you. I’d like to have the right sidebar visible up until a certain width then have the layout change to no sidebar below that width using a @media css (or some other way)… is this possible?

    Thanks Pete.

    #180976
    Tom
    Lead Developer
    Lead Developer

    You could do something like this:

    @media (max-width: 768px) {
        .sidebar {
            display: none;
        }
        .content-area {
            float: none !important;
            width: 100% !important;
        }
    }
    #180990
    Pete

    Sweeeeeeeeeeet!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.