Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1349959
    kylix
    Participant

    Is there a way to minimize the height of the featured image when it shows up on a blog post? When I add it to my blog, I don’t want the entire image to show up (attached an image). I’m trying to only have 500px of the height show up (I attached a shorter image that I manually had to cut and shrink).

    I want to know if there is a way to tweak the code to make this change without manually editing images each time a blog post goes up.

    Thanks for any help or direction you can point me into.

    #1350239
    Lely
    Moderator

    Hello There,

    Thanks for posting in. Please do minimize the attachement image so we can see. Then share us your site URL for the post so we can check what we can do.

    #1351889
    kylix
    Participant

    I reattached the images for you.

    #1352061
    Lely
    Moderator

    Hi There,

    Please try adding the following CSS on Appearance > Customize > Custom > Edit Global CSS:

    .single-post .entry-thumb {
        background: transparent;
        text-align: center;
    }
    .single-post .entry-thumb img {
        max-height: 300px;
        width: auto !important;
        min-width: initial;
    }

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1349959 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>