Tagged: , ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #395954

    Hi!

    I have tried adding the php snippets from this thread to my functions.php but I won’t get any change.

    I am trying to make the excerpt longer in a masonry.

    #396136

    To clarify, none of the tips from the other thread worked.

    #396408

    I think it’s only to change a number in a PHP file, but I don’t know which file and what to edit

    #396680

    Hi!

    Please add following code to Functions.php file in Appearance > Editor and adjust it as needed

    add_filter( 'avf_masonry_excerpt_length', 'masonry_excerpt_length');
    function masonry_excerpt_length() {
    $excerpt = 200;
    return $excerpt;
    }

    Cheers!
    Yigit

    #520351

    Hi. I tried this and while it works, it:

    1). Shortens the height of the image in each masonry blog post.

    2). Also, attempting to increase the font size of the entry title for each masonry blog post does the same thing.

    How can both be done without shrinking the height of each image in the post?

    Thanks for reading.

    #520548

    Hi,

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Best regards,
    Rikard

    #520680

    Here is the link to the site. You will see that in the masonry blog, I am using images using the exact dimensions as what is on your demo site. Your recommendations above crop the image within the Masonry presentation. i.e. a 1030 x 686 px image is severely cropped and we’d like a fix for this. Thank you.

    #521376

    Hi!

    Add this in the Quick CSS field to adjust the height of the masonry item container:

    .av-fixed-size .av-masonry-entry .av-inner-masonry-sizer {
        width: 100%;
        padding-bottom: 150%;
    }

    Cheers!
    Ismael

    #521399

    Hi! That does make the image bigger and partially works, thanks. But there is a problem: The image zooms in when you do this and too much of the actual image is lost while increasing the image size. Any way to fix this please? Thank you!

    #521971

    Hi!

    try to control it using this code:

    .av-masonry-image-container, .av-inner-masonry-content, .av-masonry-pagination {
    -webkit-transform: scale(1.05,1.05);
    -moz-transform: scale(1.05,1.05);
    transform: scale(1.05,1.05);
    }
    

    and adjust “1.05” value as needed.

    Cheers!
    Andy

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