Site logo

Archived topic

GB 1.20

3 replies · Started by Peter on December 4, 2020

Viewing posts 1–4 of 4

Hi,

I am uniforming spacing of containers that I use on 20 odd pages on my website with the new GB. Since I use three types of containers (also in grid) I was wondering if I was doing the right thing by changing container by container. This is probably causing more css than a more centralised approach. What is the right thing to do? Maybe you can give me a clue in the right direction.

Thanks, Peter

Hi Peter,

There is some CSS overlap right now in some cases.

We're working on a global styles feature that will allow you to create a single style and apply it to multiple blocks, and this style will only output the CSS once. It's a tricky feature to get right, but it's high on our priorities for GB Pro.

Let me know if you need more info :)

Hi Tom,

Thanks for letting me know I am on the right track.

I was thinking there was a way with extra css classes. Sounds good that GB Pro might do it.

Best wishes, Peter

No problem! Still working out the best UI/UX for it, but it's something I personally want to get done quite badly, as it would reduce CSS even further :)

This archived topic is closed to new replies.