Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #331255
    McTheme
    Participant

    I’m updating my basic site that features video and trying to keep the thumbnails in proportion. I’m having mixed results, with some holding their 16×9 aspect ratio and others being a large box, clipping the sides. I don’t think I’ve done anything differently between the two, but I also see they images are listed like this in the code:

    I’m curious if there is a way to lock proportions that I hit on accidentally with one and not the others. I don’t need much more customization, so don’t feel the need for the Pro edition.

     

    Would love some help. Here’s the key page that shows 2 posts with large boxy images (despite sources being 16×9) and the one that worked correctly.

    http://www.brokenframepictures.com/category/true-crime/

    Thanks!

     

    #331265
    tikaram
    Participant

    @mctheme: Login to your WordPress admin section. Go to Appearance => Customize => Additional css and add the following css.

    .section-content-wrapper .archive-post-wrap .post-thumbnail img {
      max-height: 245px;
      object-fit: cover;
    }

    Let me know if this helps you out.

    Regards,
    Tikaram

    #331268
    McTheme
    Participant

    Yes! Thanks, that worked perfectly. I appreciate the quick and effective response.

    I realize I should have asked one other question in that first post. I thought the post titles usually appeared on the individual post pages as a simple header (or at least in a previous theme, they did). But with Euphony, I don’t get them. I’m curious if there is an override for that so they appear at the top as the title, not just in search but on the post pages as well.

    Thanks again!

    #331270
    McTheme
    Participant

    Ah, one more realization. That handy bit of code you gave me crops the images, as opposed to proportionally resizing them. I guess I can resize all my images to fit, though I’ll be reentering them and shrinking them to get the right look. Is there an option to not crop the edges (and some some doing top and bottom). I’d already unticked that box in the main WP editor, but I see that Euphony is overriding with its own specs.

    thanks!

    #331283
    tikaram
    Participant

    @mctheme: The post title is supposed to appear above the post. Have you made any changes to the code or template that displays single posts. Please let me know so that I can help you fix the issue.

    Regards,
    Tikaram

    #331290
    McTheme
    Participant

    I haven’t made any intentional changes. I ported my site over from a previous (now unsupported/broken) theme, so perhaps something came along with it, though the titles used to show in the old site. I added just this bit of code I found to get rid of the “Home” title on the home page, but if I remove it, that’s the only thing that changes. (That font is very hard to read for some words, “Video” being the worst.)

    I see that I can add a “title block” to the post to force it to show a title, though that’s really just adding the text a second time. I’d appreciate a fix that simply kept the title. I’ve seen the “Aside” issue but my posts are not categorized that way, and I don’t see any options for choosing the title to appear, or not.

    #331317
    tikaram
    Participant

    @mctheme: I will contact you shortly.

    Regards,
    Tikaram

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Thumbnail/Image proportion in search results’ is closed to new replies.