I’ve tried this in GP 1.5 with the Query Loop blog, but doesn’t seem to work - anyone have any ideas?
TIA, Dave
Hi Davep,
The code seems to be working as expected. Here is a screen recording of it working from my end with a Query Loop Block: Screen Recording 2022-05-05...
Were you able to add my-custom-class to the class of the Container Block holding the Blocks for the Post? Ex: Edit Page “Homeasdasdasdasd...
Perhaps you can share a link to where you’re displaying the Query Loop Block, and I’ll take a look.
Kindly let us know.
Thanks for getting back.
To send you more info, I thought I would check the CSS in webdeveloper tools and I see this:
.my-custom-class .gb-inside-container {
display: flex;
flex-direction: column;
height: 100%;
}
With the three rules dashed out!
So something odd!
I also tried adding the CSS class to the more inner container, no change
Here is the page - it is a play site and page for 1.5
https://wpdave.work/play-page/
Dave
The my-custom-class
is placed in the wrong Container Block. Can you try adding it to the Container Block directly holding the Headline Block - Title, Image, Post Excerpt?
Kindly let us know once you’ve added it as such.
OK all fixed.
I think I got caught with this previously!
I think copying and pasting from the post includes some dodgy characters.
Must learn not to do that…
All good now.
Dave
Alright. Glad it’s working now!