NO BUG: Container row gaps not showing on the front end

Browser: Firefox Developer
OS: macOS
URL: (https://stg-amble-staging.kinsta.cloud/uncategorized/this-is-a-test/)
Video: https://www.facebook.com/1177400013/videos/801538591628500/

The row gap I am applying to my flexible field content is not showing on the front end.

I have assigned a query loop to a container to pull in flexible content. I apply row gap, and it works on the backend but doesn’t apply to the front end. Containers (non-flexible content) in other locations do not have this issue. I have disabled ACSS and the problem persists.

I have cleared the cache and regenerated CSS too.

Hoping it’s something I have overlooked. Thanks in advance!

Hey Taylor,

thanks for your report.

In both of your containers there is just one child (block). So there is nothing to add a gap between.

Not sure what exactly you’re trying to achieve but if you want to add space between the repeated containers add the row gap to the section instead.

Best,

André

Thanks André, row gap on the section has worked!

Does that mean with flexible content, a new container is generated for each section of flexible content selected?

My initial belief was that it would assigned new content as blocks within the container, which appears to be incorrect.

I am wanting to assign a global gap between my flexible content blocks, rather than assigning margin to them. However I could accomplish that easily with a class. Your answer has solved that.

Hey Taylor,

the element you’re using the query loop on is always the one that is repeated. So yes, in your case you get a container for every flexible content item at the moment. But you can easily set the query loop on the block within the container instead of the container itself. Then setting the row gap on the container will work as you’d expect.

Best,

André

Thanks André, I understand now. Appreciate it!