[Resolved] How To Make Homepage and Category Posts In Mobile

Home Forums Support [Resolved] How To Make Homepage and Category Posts In Mobile

Home Forums Support How To Make Homepage and Category Posts In Mobile

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #2087270
    Hridoy

    Hi,

    I use the marketer version now.

    I want to make the homepage and category’s posts in the mobile version like this one: https://postimg.cc/8FRBWZBn

    How can I do it..?

    #2087493
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to your site ?

    #2087513
    Hridoy

    This is the site: androidmtk.com

    and my site: https://appsrs.com/

    #2087557
    David
    Staff
    Customer Support

    You are going to need to add a post with a featured image to your site, so i have something to work on.

    #2087572
    Hridoy

    Hi, I have added the feature photo to a post. Check now…

    #2087613
    David
    Staff
    Customer Support

    Just to confirm – how should the layout look on Desktop?

    #2087620
    Hridoy

    same to the androidmtk.com website

    #2087685
    Ying
    Staff
    Customer Support

    Hi Hridoy,

    Isn’t this what you are trying to achieve already?
    https://www.screencast.com/t/LKWTxhbH

    Let me know if I miss anything.

    #2088348
    Hridoy

    My site is: appsrs.com

    And I want to make the homepage and category’s posts in the mobile version like this one: androidmtk.com website

    #2088449
    David
    Staff
    Customer Support

    Ok so the same on Desktop and Mobile.

    First go to Customizer > Layout > Blog –> Featured Images ( Archive Tab ) and change the Location to: Above Title.
    Let me know when that is done and i will provide the next steps

    #2089567
    Hridoy

    I changed it, then..?

    #2090469
    David
    Staff
    Customer Support

    You have already added this CSS:

    @media(max-width: 500px) {
        .entry-summary {
            display: none;
        }
    
        body:not(.single) .inside-article {
            display: grid;
            grid-template-columns: 48% 52%;
        }
    
        .post-image,
        .entry-header {
            grid-row: 1;
        }
    
        .post-image {
            grid-column: 1;
            margin-top: !important;
            margin-bottom: 0 !important;
            margin-right: 1em !important;
        }
    }

    Is that working for you? If not – can you remove that.

    #2090772
    Hridoy

    I removed the code, then..?

    #2091250
    Elvin
    Staff
    Customer Support

    Hi there,

    I believe what David meant was, your site already has the CSS that makes the post display in a row-like manner.

    He’s asking if that’s already fine by your requirement, else you can remove it.

    That CSS he’s pertaining makes the posts display in rows on mobile. You can keep it if it’s fine working for you already.

    My suggestion would be to atleast increase the @media rule from @media(max-width: 500px) to @media(max-width: 768px) so it catches all mobile.

    I see that your site has excerpt hidden on mobile while the reference site had it visible. Do you want to change this as well? If yes, we may have to use some PHP snippets to change the HTML structure a bit.

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