[Resolved] Space above posts on static posts page following GP1.5 update

Home Forums Support [Resolved] Space above posts on static posts page following GP1.5 update

Home Forums Support Space above posts on static posts page following GP1.5 update

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

    I am seeing a large amount of space above the default ‘Posts’ page when selecting the masonry setting. It seems to be injecting a height above the posts?

    element {
    position: relative;
    height: 3243.55px;
    }

    Have tried turning off all plugins except GP Premium and SG Optimizer then flushing cache. No luck?

    Error page here: https://www.forresters4hair.com/test/
    This is what they looked like before GP1.5 and is using Tom’s WP-show-posts plugin. https://www.forresters4hair.com/news/

    #419638
    Tom
    Lead Developer
    Lead Developer

    Hmm, I can’t reproduce this.

    Any chance you can send me temporary admin login details?: https://generatepress.com/contact/

    #419786
    Tom
    Lead Developer
    Lead Developer

    Well that was hard, but I found the issue!

    In GP Hooks, you have your breadcrumbs code added into the after entry title hook, which adds it inside each post in your blog. For some reason, the container inside each post is throwing off masonry.

    Instead, place that code into the After Header or Inside Content Container hook.

    #420490
    Jim

    Many thanks Tom and sorry it took so long?
    I ended up putting the Yoast breadcrumbs code into the Inside Content Container hook as per your suggestion. I had to float ‘.page-header’ to get the same look but apart from that it works great.

    Jim

    #420894
    Tom
    Lead Developer
    Lead Developer

    It was a head scratcher! Glad we were able to get it working 🙂

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