Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #408449

    Hi!

    I have bought Enfold recently and I’m very satisfied with it since then. I like the Grid Layout style for blog, but in a new blog post that I have published today, the featured image is not displayed properly. You can see it here:
    http://svadbenetorte.com/blog/
    I don’t know what is the reason, cause the rest of the posts featured images are correctly displayed. Please help.

    #408489

    Hi crnaosa!

    It looks like the first image is resized to 495 x 400 but all of the other images are displayed as fullsize. That is the problem correct?

    Can you send us a WordPress login so we can take a closer look?

    Cheers!
    Elliott

    #408706
    This reply has been marked as private.
    #409061

    Hi!

    Alrighty, try opening up /enfold/config-templatebuilder/avia-shortcodes/postslider.php and change line 295 from this.

    $thumbnail  = get_the_post_thumbnail( $the_id, $image_size );
    

    To this.

    $thumbnail  = get_the_post_thumbnail( $the_id, 'full' );
    

    That should have them all open up in their original sizes instead of being resized by WordPress.

    Cheers!
    Elliott

    #409075

    Thanks a lot! Now it’s OK.

    #409576

    But one more problem about the same issue is still present.

    When I open blog post:

    http://svadbenetorte.com/2015/03/09/handmade-aristocats-vintage-heart-mladenacka-torta/

    the small preview image is not displayed properly, while in the other posts it is:

    http://svadbenetorte.com/2015/02/11/svadbena-torta-sa-stilizovanim-macama/
    http://svadbenetorte.com/2014/08/11/svadbena-torta-sa-slobu-i-bojanu-buket-i-zaljubljene-bubamare/

    etc.

    #409731

    Hi, have you read the follow-up in my previous reply? Can someone help?

    #409789

    Hey!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .single-post .single-small.with-slider .small-preview { background-color: transparent; }

    and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/

    Cheers!
    Yigit

    #409888

    Hi! I have done as you explained, but this resulted with the opposite effect.. Now all the thumbnails are the same fixed size, which I don’t want. I want them to be proportional to they original size.

    I went to Settings>Media and unchecked the box that should be checked when you want them to be cropped to exact dimensions, but with no results.

    #410318

    Hey!

    The maximum size of the small preview container is 180x180px. You can change that with this:

    .single-post .single-small.with-slider .small-preview {
      width: 180px;
      height: 180px;
    }

    Adjust the width and height then install this plugin: https://wordpress.org/plugins/simple-image-sizes/

    Go to Settings > Media panel, look for the square thumbnail size. Set the Cropping parameter to “No”. You can also adjust the width and height if you want. Update then save changes. Regenerate the thumbnails after.

    Best regards,
    Ismael

    #410518

    That’s it! Thanks a lot!

    #410853

    Hey!

    Great, glad we could help :)

    Cheers!
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Blog Grid Layout problem’ is closed to new replies.