[Resolved] Two different post template for two different screen size

Home Forums Support [Resolved] Two different post template for two different screen size

Home Forums Support Two different post template for two different screen size

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2215531
    iamarghya

    Hey, I just wanna ask you is there any chance I can use another post-template besides what’s present now for a certain screen size?

    #2215583
    Leo
    Staff
    Customer Support

    Hi there,

    Unfortunately I’m not aware of a solution for this.

    #2215608
    iamarghya

    OK so for that cause can I show a sidebar smaller than 640px I cant display the sidebar. Check the website and responsiveness and after being smaller than 640px I want to show the sidebar with 1 post box, so help me with that.

    #2215725
    Ying
    Staff
    Customer Support

    Don’t think that’ll looking good on a small screen, but give it a try:

    @media (max-width: 640px) {
    .blog #main {
            grid-template-columns: repeat(1, 1fr);
        }
        .site-content .content-area {
            width: 70% !important;
        }
        .blog .is-right-sidebar {
            width: 30%;
        }
        .site-content {
            flex-direction: row !important;
        }
        div#right-sidebar {
        display: block !important;
        }
    }
    #2215866
    iamarghya

    Ya looking bad btw thanks for the answer. I can use it in the future.

    #2216700
    Ying
    Staff
    Customer Support

    You are welcome 🙂

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