Home Forums Latest Removing images at top of posts (take 2)

Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5442
    annaxt
    Participant

    Hi, I’ve just read the answer from Yasmin to Brian (in this post: https://uxlthemes.com/forums/topic/removing-images-at-top-of-posts/) and tried adding the code, as I have the same question as he did. It didn’t help though! Could you please take a look at what might be the problem?

    This post for instance, on my blog: http://annatoss.se/2018/08/13/barn-som-brakar/

    Thank you very much!

     

    #5445
    Andy
    Keymaster

    Hi, the code from the other support query is for removing the post’s featured image which is displayed as background image behind the post title, like this post in our demo.

    In the ‘Latest’ theme the featured image is only displayed as the title background if the image width is greater than it’s height (landscape ratio).

    In your linked post however, the featured image is higher than it is wide (portrait ratio), so to remove the featured image in this case, add the following to Customize > Additional CSS:

    .single-post .featured-image {
        display: none;
    }
    #5447
    annaxt
    Participant

    It worked! Thank you so much!

     

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Removing images at top of posts (take 2)’ is closed to new replies.