Site logo

Archived topic

Use global styles inside a local template

1 reply · Started by Mario on March 30, 2022

Viewing posts 1–2 of 2

Hi,

I created a local template that contains 2 buttons inside a button container(its the generateblocks button). Each button has its own color, text, button alignment, paddin, etc

Can i now use this local template inside a global styles :element" to globally change the colors of the buttons at once. And if so, is it good practise to do so? Does it add extra code or maybe the opposite, reduce code cause the colors css would load only once for the buttons?

Thanks,
Mario

This archived topic is closed to new replies.