- This topic has 9 replies, 3 voices, and was last updated 3 years, 7 months ago by
David.
-
AuthorPosts
-
October 7, 2022 at 10:20 am #2366486
Marius
I have a Block Content Template and it should show on blog, archives and search.
On blog and archive, it looks as it should.
But on search it looks weird. The first rows are partly connected and also there is no space to the page nav.
Why is that?
October 8, 2022 at 5:39 am #2366980David
StaffCustomer SupportHi there,
thats odd…. does this CSS fix the issue ?
.one-container.search .post:not(:last-child) { padding-bottom: 30px; }October 9, 2022 at 1:25 am #2367525Marius
Hi David,
Unfortunately not. If I insert this, then the search looks good, but the archives looks weird the same way the search looks before inserting this css.
October 9, 2022 at 5:36 am #2367677David
StaffCustomer SupportCan you add the CSS i provided, so i can see whats up with the archives, as they should not be affected.
October 9, 2022 at 5:40 am #2367680Marius
Hi David,
I have add it.
October 9, 2022 at 11:39 pm #2368356Fernando Customer Support
Hi Sonja,
I checked from my end, and the CSS provided by David isn’t affecting anything in the Blog and Archive Pages. What does it look like from your end? Can you take a screenshot?
Uploading Screenshots: https://docs.generatepress.com/article/using-the-premium-support-forum/#uploading-screenshots
October 10, 2022 at 6:32 am #2368681Marius
Hi Fernando,
I have checked it again. If I look at the archives in the customizer, then they look weird as I wrote. Outside the customizer it looks okay. Why is that?
October 10, 2022 at 8:29 am #2368947David
StaffCustomer SupportThe Customizer uses Javascript to load CSS styles on the page. This however isn’t 100% accurate when adding styles to the Customizer > Additional CSS.
If it looks ok outside of the customizer then all is ok.
October 10, 2022 at 1:34 pm #2369203Marius
Okay, good to know. But still, this behavior is strange, isn’t it? Could something be wrong with my Block Content template?
October 11, 2022 at 4:31 am #2369726David
StaffCustomer SupportNo, it’s just we need to iron out some of the theme styles for when content templates are used.
However, with the GPP 2.2 there is a new Loop Template Block Element, which will allow you to create the entire loop with the GB Query Loop. This method will allow you style the columns/grid in the editor and avoid these kinds of issue with the Theme styles -
AuthorPosts
- You must be logged in to reply to this topic.