Differing background colours for Media & Text
-
Is it possible to set one background colour for the media section and another background colour for the text section of the block? I need both backgrounds to be full-width.
So far I could do this using CSS only when the Media & Text block is full-width. This way requires me to use a different CSS class for each block of different color, which is not user friendly.
The other alternative I explored is by enclosing the ‘Text’ within a Group block. This alternative requires overriding the set padding on wp-block-media-text__content, which I don’t want to do for fear of future incompatibility.
Is there a recommended way to achieve my goal?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Differing background colours for Media & Text’ is closed to new replies.