[Support request] Equal length columns and mobile sidebar behavior

Home Forums Support [Support request] Equal length columns and mobile sidebar behavior

Home Forums Support Equal length columns and mobile sidebar behavior

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #754291
    Tim

    The code
    .site-content {
    display: flex;
    }
    Causes the sidebar to merge with the main content on mobile devices. Is there a solution to separate them in mobile view and keep equal columns? sidebar should be below content on mobile. The web page I’m needing assistance with is https://www.dentaldesignsolutions.com/about-stone-lodge-dental/. Any other suggestions would be welcomed.

    #754461
    David
    Staff
    Customer Support

    Hi there,

    you can set CSS exclusively to different screen sizes use @media queries like so:

    @media (min-width: 768px) {
        .site-content {
        display: flex;
        }
    }

    This will apply the flex to devices of tablet or greater size.

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