Archived topic
Space above posts on static posts page following GP1.5 update
4 replies · Started by Jim on November 9, 2017
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/
Hmm, I can't reproduce this.
Any chance you can send me temporary admin login details?: https://generatepress.com/contact/
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.
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
It was a head scratcher! Glad we were able to get it working :)