-
AuthorPosts
-
February 13, 2015 at 6:51 pm #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.
February 14, 2015 at 12:12 pm #396136To clarify, none of the tips from the other thread worked.
February 15, 2015 at 5:28 pm #396408I think it’s only to change a number in a PHP file, but I don’t know which file and what to edit
February 16, 2015 at 1:19 pm #396680Hi!
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!
YigitOctober 17, 2015 at 3:17 am #520351Hi. 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.
October 18, 2015 at 8:24 am #520548Hi,
Could you provide us with a link to the site in question so that we can take a closer look please?
Best regards,
RikardOctober 18, 2015 at 8:26 pm #520680Here 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.
October 20, 2015 at 6:06 am #521376Hi!
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!
IsmaelOctober 20, 2015 at 6:52 am #521399Hi! 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!
October 20, 2015 at 7:03 pm #521971Hi!
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 -
AuthorPosts
- You must be logged in to reply to this topic.