Hi everyone,
I am new to Pinegrow, but familiar with HTML and CSS. My primary interest is building WordPress Blocks using Pinegrow’s WordPress Plugin. Any suggestions or guidance would be very much appreciated. I am eager to learn new things.
I’ve been importing HTML and CSS code from VSCode, Dreamweaver, or Brackets, and using Blocks Smart Actions and the Common Block Attributes to build easy-to-edit, reusable blocks.
I want to reapply repeating block attributes to multiple HTML elements within a block/section or throughout a project. Thus far, I’ve been adding attributes to every element for every property, which is a repetitive and tedious process that requires a tremendous amount of time. I want to avoid this, if possible.
For example, let’s say I build a two-column section using Flexbox, with each column consisting of an h1 and h2 heading, two paragraphs, and a list. The font-size, font-family, font-style, font-weight, text-transform, text-variant, line-height, letter-spacing, word-spacing, background color, border-radius…apply to every element in the block. Is there a way to add block attributes once and use them to control/edit all the elements from within the block editor?
Creating a custom WordPress Block is not the problem. I want to reuse Block Smart Attributes for multiple elements.
Thank you for any help you can provide.
Kind regards,
Mark