[Resolved] Make Mobile Blog Featured Image Fullscreen

Home Forums Support [Resolved] Make Mobile Blog Featured Image Fullscreen

Home Forums Support Make Mobile Blog Featured Image Fullscreen

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1200759
    rollitobot

    Hi Team!

    I’ve checked all the support pages but i havent found nothig about this, sorry if i have overlook something…

    I would like to put the images of the main page of the blog, extended or full screen ONLY on mobile devices.
    Is there any form to do this??

    Look, my page (my first web!) is :
    and I would make the principal page of the blog on mobile, like this: (all the post images expanded…)

    Thaks for your support, I’ve learned a great deal… Regards from spain!

    #1200854
    Leo
    Staff
    Customer Support

    Hi there,

    Just to confirm, you want to remove the 10px padding here?
    https://www.screencast.com/t/rZtSil64iSW

    Let me know 🙂

    #1201303
    rollitobot

    Yeees! Exactly! Is there anyway to do this??

    #1201652
    David
    Staff
    Customer Support

    Hi there,

    In Customizer > Layout > Blog —> Featured Images uncheck Display padding around images

    https://docs.generatepress.com/article/adjusting-the-featured-images/

    #1201673
    rollitobot

    Nothing happens…. the padding is still appearing
    Display padding not working!

    #1201842
    David
    Staff
    Customer Support

    Hmm – odd. Leave that option enabled and add his CSS:

    @media (max-width: 768px){
        .no-featured-image-padding .post-image {
            margin-left: -10px !important;
            margin-right: -10px !important;
        }
    }
    #1201946
    rollitobot

    Yeaaaah! It works!!
    But, why ‘no featured image’?? I don’t understand this. The images of the posts, are supposed to be a featured images…

    Thanks a lot for your support!

    #1202004
    Leo
    Staff
    Customer Support

    Not sure what you mean? The class is no-featured-image-padding which is the name of the option.

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