[Resolved] Resposive design doesn’t work on table(Dispatch theme)

Home Forums Support [Resolved] Resposive design doesn’t work on table(Dispatch theme)

Home Forums Support Resposive design doesn’t work on table(Dispatch theme)

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2079791
    wontae

    It shows PC design on Tablet view.(screenshot attached)
    The preview on Site Library shows me Tablet view is same as the mobile view.

    I have no idea what’s the problem.

    Could you help me how to solve the problem?

    img
    https://drive.google.com/file/d/1Nz44Gx3WNGPa-pFn60pTHlTRYRG_S32h/view?usp=sharing

    Tablet view

    #2080080
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to your site?
    And can you confirm you want the mobile view on larger tablet views ?

    #2080087
    wontae

    I’m sorry, here’s my website link below.

    Yes, I want a mobile view on larger tablet views.

    http://brandon-insight.com/

    #2080174
    David
    Staff
    Customer Support

    Can you confirm the size of tablet you want to adjust it for?

    For example an iPad Pro 10.5″ has a CSS pixel width of 834px.
    Whereas a iPad Pro 12.9″ has a CSS pixel width of 1024px.

    #2080781
    wontae

    It’s a 10.2″ iPad

    #2081002
    David
    Staff
    Customer Support

    Try adding this CSS:

    @media (max-width: 840px) {
        .site-content {
            flex-direction: column;
        }
        .container .site-content .content-area {
            width: auto;
        }
        .is-left-sidebar.sidebar, .is-right-sidebar.sidebar {
            width: auto;
            order: initial;
        }
        .wp-show-posts-columns, .wp-show-posts-inner {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
        .wp-show-posts-columns .wp-show-posts-single {
            display: block;
            width: 100%;
        }
    }

    In the first line: @media (max-width: 840px) { you can change the 840px to 1024px if you want to apply to the larger ipad.

    #2083922
    wontae

    The problem is solved!

    Thank you very much

    #2084196
    David
    Staff
    Customer Support

    Glad to hear that

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