[Resolved] How can I make my site displayed vertical screen same as Horizontal screen

Home Forums Support [Resolved] How can I make my site displayed vertical screen same as Horizontal screen

Home Forums Support How can I make my site displayed vertical screen same as Horizontal screen

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1398077
    nutt

    Here is my site nuttblog

    It works well on iPad horizontal display but turn to be mobile display when looking on vertical display.

    I would like to make the width still no matter screen rotated.

    Thank you

    #1398477
    David
    Staff
    Customer Support

    Hi there,

    i don’t understand what you’re trying to achieve.

    Maybe a screenshot of how it looks and how you want it to look would help.

    #1399074
    nutt

    I mean how to keep the same width of sitecontainer on iPad screen both rotations?

    Thank you

    #1399250
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    So just to confirm, you want the sidebar to remain next to the content on portrait tablet screens, but still drop down below the content on mobile?

    Let us know ๐Ÿ™‚

    #1400882
    nutt

    Yes, That ‘s what I really mean.

    #1401638
    Tom
    Lead Developer
    Lead Developer

    Give this CSS a shot:

    @media (max-width: 768px) and (min-width: 700px) {
        .content-area, .sidebar {
            float: left;
        }
    
        .content-area.grid-80 {
            width: 80%;
        }
    
        .sidebar.grid-20 {
            width: 20%;
        }
    
        .one-container.right-sidebar .site-main {
            margin-right: 41px !important;
        }
    }
    #1403782
    nutt

    HI, Tom

    Thank you so much. it works really well

    #1404220
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

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