Containers in Grid


Based on the snippets I have managed to add a default padding to the containers. But is it possible to target the containers in the Grid separately? So that it has a different default padding than the outer containers around the grid.

Because at this moment it takes a lot of extra customization to change the inner grid containers to don’t have the same padding as the outer containers.

Hi Methan,
I had the same task and solved it with this workaround:

@media (max-width: 768px) {
.inside-article .gb-container .gb-container > .gb-inside-container { padding-left: 0; padding-right: 0; }

Maybe it’s a starting point for you.


1 Like

It’s not possible to target defaults for grid items separately as they’re just regular Container blocks. The CSS mentioned above is a good workaround.