Archived topic
Frontpage backend / frontend
20 replies · Started by Royal Rangers on February 3, 2023
Hi, I have a two problem with frontend.
I have made the last posts on the main page through Generate Blocks Query Loops. I see everything fine in the editor. On the left is one last post. On the right are the last four posts with an offset of 1.
https://prnt.sc/TvyzR5KuiTSZ
I see this in the frontend https://prnt.sc/0iY15p_g1l5U
I have a similar problem with the footer.
In editor - https://prnt.sc/dJ0NtVIL_XK5
Live - https://prnt.sc/PXY056FK-N9p
Can you help me? Thanks.
Hi there,
Any chance you can disable all plugins and custom functions except GP Premium and GenerateBlocks to eliminate conflicts from other plugins first?
Make sure to activate the parent theme if you are using a child theme as well.
Let me know 🙂
I deactivated all plugins except GP Premium and GB and Query Loop is still wrong.
After deactivating Optimole, the links in the footer are fine. How is it possible this is text with a link?
Hi there,
the right hand query loop, can you try:
1. select the query loop block
2. from the 3 dot menu select duplicate block
3. delete the original query loop
Check the Params of the new block. And publish those changes.
I tried it. It's worse than it was.
https://prnt.sc/0JIq0axpdorv
In editor Is everything ok.
Can you supply an admin login so we can take a closer look ?
Yes.
Maybe problem with footer links are same...
Take a look now:
Your site has a Sticky Post, so the right hand Query Loop i Added Parameter -> Sticky Post --> Ignore
For the missing styles.
I regenerated the CSS in GenerateBlocks Settings and then cleared your Cache.
Hi David, that was easy. I didn't think of that. I tried regenerating the CSS in GB several times too. It didn't work. You are a bigger boss. :)
The problem is in the display of the right part. The minimum height in Post Template is set to 245px.
https://prnt.sc/QVQYVQV7EDh5
On the website I see the height of the first line is 253px.
https://prnt.sc/lYYQN_i94KCn
When I copy the identical entire container to another site, the display is correct.
https://prnt.sc/FdNtqkcJ-yQV
I'm wondering if it's possible to have it show a different CSS setting. There was a different template on the site and it replaced GP with full settings.
Hi Jan,
A min-height defines the smallest height of the Container if there's no content. However, if the height of the content is beyond your min-height value, 245px, it will still go beyond. With that said, your content including the spacing for those Containers goes beyond 245px, thus, the disparity.
If we force it to 245px, your content would be cut. Are you alright with this?
It can be tried.
We can force it with custom CSS or, if you can wait a bit, the upcoming GB update should allow you to define a height instead of a min-height.
Let us know what you prefer.
We can try to set it up for now.
Btw. When will the new version arrive?
I found that changes in settings such as colors do not update at all.
I can see everything correctly in the editor, but not anymore on the website. Regenerating the GB CSS will not help.
When I set CSS PRINT METHOD to Inline Embedding, then it's fine.
You can try this CSS:
.gb-grid-wrapper.gb-grid-wrapper-786fcddf.gb-query-loop-wrapper > .gb-query-loop-item > .gb-container > .gb-inside-container > h4 {
max-height: 108px;
}
This adds a max-height to your Headline text.
As for the color, can you try disabling your caching/optimization plugins to test?