Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #313724

    Hi,

    I just set my front page as a masonary blog but the feature images set for each blog post are overlapping each other when the page is first loaded, i.e. the excerpt and titles are hidden by the feature images above it. Only after one or two page reloads does this get fixed to display correctly each posts feature image and blog title/excerpt, with gaps

    Hope you can help!

    Thanks
    Josh

    #313726

    Seems to be related to the RH sidebars..

    #313749

    Did away with RH sidebars, still getting the overlap problem

    • This reply was modified 10 years, 2 months ago by nzjosh.
    #313789

    Also, the excerpt sometimes shows 2 lines and most others 1 line, creating a staggered look to the blogs layout. How can i fix this? and can we get more of an excerpt, say a 20-30 words?

    tHANKS!

    #315413

    Hi,

    Try adding this at the very end of your theme functions.php file:

    function add_custom_script(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery(window).trigger('resize');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    Regards,
    Josue

    #316370

    Thanks Josue, unfortunately hasn’t helped. Any other suggestions?

    Also how can i get the excerpt to be one or two lines long, not randomly 1 or two as is now? It misaligns the blog posts..

    Josh

    #316449

    Hi Josh!

    It’s not random, that’s happening because of some posts have larger excerpts than others, you can equalize them with this code in Quick CSS:

    .av-inner-masonry-content.site-background {
        min-height: 135px;
    }

    Best regards,
    Josue

    #316469

    thanks! Is there a way to change length of excerpt?

    • This reply was modified 10 years, 2 months ago by nzjosh.
    #316539

    Hey!

    You can change the excerpt by editing the Post (Screen Options > Excerpt).

    To change the default excerpt length, try:
    http://matthewfecher.com/webdesign/wp-quick-tip-how-to-change-the-excerpt-length/

    Best regards,
    Josue

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