Archived topic
GenerateBlocks Headline constrain text background
5 replies · Started by lunatrix on June 5, 2021
I have centered headline text that I want to have a background but it's in a full-width container. The headline background extends full width as well. I tried both the margin and padding settings hoping it would override the full-width, but it didn't solve it.
What I want:
Hi there,
Are you using the Headline block from Generateblocks?
If so, you can activate its inline width option:
https://www.screencast.com/t/RyAiYWOmwHS
If not, can you link us to the site in question?
Activating inline width aligns it to the left. How can I center it?
I can't link you to the site since it's on my local dev machine.
Hi there,
select the Container Block and in the block Toolbar set the alignment to center. This will center the headline.
Perfect! That's exactly what I was looking for :)
Glad we could be of help