Tagged: 

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1189854

    Hi… how do I get my captions to align when displaying posts on a masonry grid? Grid setting set to Perfect Manual Masonry and with title and excerpt enabled. Additionally, is there a way to hid the pst date on the masonry grid? I have multiple pages with post grids… I have provided a sample of one. Thanks!

    #1189972

    Hey brockwatson,

    I’m not sure what you mean by aligning the titles, do you mean that the images are differently sized which means the titles would appear higher or lower compared to each other? If so then please try to use images which are the same size to see if that helps.

    You can use this in Quick CSS to hide the date:

    .av-masonry-date {
      display: none;
    }

    Best regards,
    Rikard

    #1193704

    Thank you for the CSS on the date.. worked great. However, I am still having trouble getting the images and captions to display cleanly. All of the images are the same size… however the responsiveness is not consistent and the captions are not starting on the same line (they end on the same line but would like them to start on the same line as well… just under the image). Please see link to a sample page… I have several pages like this. Thanks

    #1194712

    Hello… I just wanted to circle around on this as I have not heard back. Thanks

    #1195330

    Hi,

    Sorry for the delay. Are you uploading featured images with the same size? Some of the items in the grid may not look the same as the other because their featured images are smaller or larger compare to the other images. Please make sure that the size of the featured images are the same.

    Best regards,
    Ismael

    #1195366

    Thanks. As mentioned, all of the images are the same size. Additionally, we are not sure how to address the captions/lead-ins starting on different lines. The are all uneven. Thanks!

    #1195560

    Actually .. what it looks like is the captions are starting from the bottom instead of the top. I dont see a setting to change this. It is like this on all my pages with post grids. Please advise. Thanks!

    #1195575

    Ok.. so we figured out how to top align the caption. However, is there a way to increase the font size and the character count for the leadin (first few lines of the post after the title)? This again would be for all post grids on the site. Thanks!

    #1197941

    Hi,

    Thank you for the update.

    You can use this filter in the functions.php file to limit the character count in the excerpt.

    add_filter('avf_masonry_loop_entry_content', function($content) {
          return substr($content,0,30);
    }, 10, 1);
    

    This should limit the excerpt to 30 characters.

    Best regards,
    Ismael

    #1198185

    Thanks… however, we actually need to increase the count. We tried adjusting within the code but it didnt work. Please see steps our web team took below.

    • This reply was modified 4 years, 7 months ago by brockwatson. Reason: added code sample
    #1198979

    Hi,

    Thank you for the update.

    Can we get access to the dashboard and the file server? We would like to check the page settings and how the portfolio items are set up. Are you using the advance layout builder for the portfolio items?

    Best regards,
    Ismael

    #1199153
    This reply has been marked as private.
    #1199965

    Hi,

    Thank you for the info.

    We added this code in the Quick CSS field to set the minimum height of the masonry title, which should horizontally align the captions.

    .av-masonry-entry .av-masonry-entry-title {
    	min-height: 39px;
    }
    

    Best regards,
    Ismael

    #1200238

    Thank you… looks great! However we are still having the issue with the character count in the excerpt (we need the ability to increase the count). As previously mentioned, the code you previously provided to adjust the character count did not work. Additionally, is there a way to increase the font size of the title and excerpt? This is a 2 part question…. Thank you.

    • This reply was modified 4 years, 7 months ago by brockwatson.
    #1201130

    Hi,

    We replaced the filter in the functions.php file with this one.

    add_filter('avf_masonry_excerpt_length','avia_change_masonry_excerpt_length', 10, 1);
    function avia_change_masonry_excerpt_length($length)
    {
       $length = 100;
       return $length;
    }

    You can of course adjust the length.

    Best regards,
    Ismael

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