Make media and text block normal width (not wide or full)
-
I would like to create a variation of the media and text block that is the same width as the rest of the content on the page instead of being
wide
orfull
. I would also like to have the original wide/full media and text block in addition to this, but I’d like to have the option to make it normal width as well.How would I add this functionality to the existing block or create a variation of the block to accomplish it?
Note: I realize it would theoretically be possible to do this purely with CSS, but this would not be ideal. As is, the media and text block adds the
alignwide
class to the div, so accomplishing this purely with CSS would mean that the div still had the alignwide class, but wasn’t actually aligned wide. That’s why I would like to modify this in the block itself to prevent the alignwide class from being added in the first place.I also realize it would be possible to simply use the columns block to approximate what a normal-aligned media & text block would look like, but I would like to specifically create a normal-width variation of the media and text block, not use another block to approximate it.
Thanks in advance for your help!
- The topic ‘Make media and text block normal width (not wide or full)’ is closed to new replies.