BuddyDev

Search

Reduce height of the featured image in posts view

  • Participant
    Level: Initiated
    Posts: 16
    Scooter on #52571

    Hi,

    Using BuddyBlog Pro. On the profile’s “posts” view (which lists all posts, not the single post view) how can I reduce the height of the featured image? It is very high and I want ti reduce it by around 50%. Presumably I can apply CSS to your code but I’m not sure how to do this.

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24599
    Brajesh Singh on #52572

    Hi,
    Thank you for the question.

    You can use the following css

    
    .single .bbl-posts-list .entry-img {
        padding-top: 20%;
    }
    

    If it does not work, Please add !important like this

    
    .single .bbl-posts-list .entry-img {
        padding-top: 20% !important;
    }
    

    Please let me know if that works or not?

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 16
    Scooter on #52583

    Thanks Brajesh, this works well. However is it possible to cut off the bottom of the image rather than the top?

You must be logged in to reply to this topic.

This topic is: not resolved