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

    Hey guys,

    It seems that the image on the individual post page associated with the masonry layout is being restricted. how would I go about adding an image and having it show its actual dimensions vs cropping, etc?

    http://codelessme.com/embody/2013/12/19/jenna/

    #202445

    Hi David!

    You can adjust the width of the featured image using this:

    .fullsize .big-preview.single-big {
    max-width: 1000px;
    }

    Best regards,
    Ismael

    #202451

    Ismael,

    I understand the width, it is the height I am talking about. The container is cropping everything. If you take a look at at one of the featured images here http://codelessme.com/embody/ and then click an image, you will see the cropping. I already adjusted to 800px wide. It would be ideal just to allow the default image size and width to remain with no cropping at all.

    #202826

    Hey!

    Please open up /wp-content/themes/enfold/includes/loop-index.php and replace

    
    $size = strpos($blog_style, 'big') ? strpos(avia_layout_class( 'main' , false), 'sidebar') ? 'entry_with_sidebar' : 'entry_without_sidebar' : 'square';
    

    with

    
    $size = strpos($blog_style, 'big') ? strpos(avia_layout_class( 'main' , false), 'sidebar') ? 'entry_with_sidebar' : 'entry_without_sidebar' : 'square';
    if(is_single()) $size = "full";
    

    This should replace the thumbnail with the full size image on all single post pages.

    Regards,
    Peter

    #202884

    Great! will give this a try dude.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Enfold > masonry post > image size’ is closed to new replies.