• Resolved bastianfenske

    (@bastianfenske)


    Hello everyone.

    I want to create a website where the width of the text is limited (something like margin: 0 auto; max-width: 100px;). But some sections have a different background color that spans the entire width of the browser window. And they also have a different font color in there, of course. But the with and alignment of the text within those sections would be the same.

    Is there an easy way to do this (easy for the authors to use it)? Would I use Elementor for that? Are there any features of themes that I have to consider when choosing a base theme?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @bastianfenske

    have you tried any block theme these days? For example, I’ve done the following:

    – Go to the post editor and create a post with a paragraph.
    – Make that paragraph part of a group block.
    – Set the group block’s width to “Full width” and give it a color.
    – Save and published.

    This was using WordPress 6.6 and the default TwentyTwentyFour theme.

    You can do more complicated things just using the group block and its variations (row/stack/grid). If you’re up for it and can try, it’ll be great to hear your feedback.

    Best,
    André

    Thread Starter bastianfenske

    (@bastianfenske)

    Thank you, André. That works! Great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.