[Support request] Customize the Mobile Homepage

Home Forums Support [Support request] Customize the Mobile Homepage

Home Forums Support Customize the Mobile Homepage

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2204500
    Debasis

    I want to customize the mobile homepage post like this: https://prnt.sc/qy1qfs without wp showposts.

    #2204502
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the page in question?

    You can use the private information field:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know ๐Ÿ™‚

    #2204507
    Debasis

    I added the link now check

    #2204509
    Leo
    Staff
    Customer Support

    Can you link me to your site in question that’s using GeneratePress?

    #2204510
    Debasis

    Sure, I added please check

    #2204523
    Ying
    Staff
    Customer Support

    It’s not possible if you want to keep your current desktop layout, unless you can build the same desktop layout as the example site.

    #2204534
    Debasis

    Ok, build the same desktop and mobile layout as the example site.

    #2204658
    David
    Staff
    Customer Support

    Hi there,

    first go to Customizer > Layout > Blog –> Featured Images —> Archive tab and se the Location to Above Title.
    After thats done we can look at the CSS required

    #2204991
    Debasis

    Done… please provide CSS

    #2205052
    Ying
    Staff
    Customer Support

    Try this:

     @media (max-width: 768px) {
        .blog .inside-article, .archive .inside-article {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
         .blog .post-image, .archive .post-image {
            width: 30%;
        }
         .blog .entry-header, .archive .entry-header {
            width: 65%;
            margin-left: 5%;
        }
         .blog .entry-summary, .archive .entry-summary, .archive span.byline, .blog span.byline{
            display: none;
        }
         .blog h2.entry-title, .archive h2.entry-title {
            font-size: 20px;
        }
    }
    #2219320
    Debasis

    Thanks for sharing, I customized it a little bit, please check

    @media (max-width: 768px) {
        .blog .inside-article, .archive .inside-article {
            display: flex;
        align-items: center;
        padding: 0 20px;
    			
    			
        }
    	
    	
         .blog .post-image, .archive .post-image {
    margin: 0!important;
    vertical-align: bottom;    
    height: auto;
        }
    	
    	
         .blog .entry-header, .archive .entry-header {
            width: 65%;
            margin-left: 5%;
        }
         .blog .entry-summary, .archive .entry-summary,  .archive span.byline, .blog span.byline{
            display: none;
        }
         .blog h2.entry-title, .archive h2.entry-title {
            font-size: 18px;
    			
        }
    	.blog .entry-meta {font-size: 12px;
        margin-top: 3px;}
    	
    }
    
    
    #2221420
    Ying
    Staff
    Customer Support

    You are welcome ๐Ÿ™‚

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