Archived topic
Use global styles inside a local template
1 reply · Started by Mario on March 30, 2022
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
Hi Mario,
Can you open a support topic in Generateblocks’ support system as GB is an individual product?
Free: https://wordpress.org/support/plugin/generateblocks/
Pro: https://generateblocks.com/support/
Your question should be helpful to other GB users as well!