Is there a way to not crop featured images on mobile?

Home Forums Receptar Is there a way to not crop featured images on mobile?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16193

    Roxie
    Participant

    Is there a way to not crop featured images on mobile?

    I’d like to display full size featured images inside the post when opening it on a phone without cropping the height.
    I’ve tried the following code:

    @media only screen and (max-width: 680px) {
      .site .posts .hentry .entry-media {
        padding-bottom: 0;
      }
    
      .posts .entry-media .post-thumbnail {
        position: relative;
        top: 0;
        -webkit-transform: none;
            -ms-transform: none;
                transform: none;
      }
    }

    but it only seems to work on the post thumbnail. When i open the post featured image inside the post is still being cropped on a mobile website.

    my website is myglorious50.com

    #16219

    Oliver Juhas
    Keymaster

    Hi,

    I’m sorry I don’t quite understand as there is no cropping of post featured image on single post page on mobile devices. Could you maybe provide screenshots of your issue?

    Regards,

    Oliver

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.