Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #547718

    Hello,

    I am working with 4 columns, each has a blog posts element inside of it that displays one blog post each. If the blogs being pulled has a vertically-tall featured image, the size is very awkward. I am having trouble getting the image to be the correct height without running into issues.

    You can view the page here, near the bottom. http://dev.summermatters2you.net/

    Thanks

    #547750

    Also,

    How can I go about reducing the number of characters allowed for the blog posts element? I don’t want to change this globally, just for this element.

    #548851

    Hi!

    1.) I can’t see any issues with your images. Can you provide us a precise link where we can see it please? you can get more control over WordPress’ image sizes with a plugin like this: https://de.wordpress.org/plugins/simple-image-sizes/

    2.) Refer to this: https://codex.wordpress.org/Plugin_API/Filter_Reference/excerpt_length

    Cheers!
    Andy

    #549247

    Hello Andy,

    Thanks for the input. I should’ve clarified more. When a post has a vertically tall featured image, it carries over the aspect ratio.

    Instead I want to ensure that whenever a posts is shown using the Blog Posts element, the image is ALWAYS a fixed width/height.

    Unfortunately when I’m attempting this in CSS the image is being squished, and I can’t seem to get around this.

    Thanks,

    Hayden

    #552464

    Hey!

    please upgrade to WordPress 4.4, as there are some improvements of image handling in WordPress and let us know if this helps you. Otherwise you need to control image behavior on different screen sizes using media queries: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/

    Cheers!
    Andy

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