A question we expect to hear often, answered here so it is easy to find.
Question: I want a coloured band to run from one side of the screen to the other. How do I do that?
Answer: Use the module's own
Layout tab. You do not need to write code.
- Open Content, then Site Modules, and open your module.
- Open the Layout tab. In the Width group, set Width of the block to Full width, edge to edge.
- A new option appears: Width of the content. Container (centred) keeps the words in line with the rest of the page. Full width lets them run to the edges too.
- Open the Advanced tab and set Module Style to None, for the cleanest result.
- Press Save and look at the page.
Do not use Full width in a column beside a sidebar. When this was tried, the band slid past the left edge of the screen and the start of every line was cut off. Put the band in a position above or below the sidebars, such as bottom-a.
Webal Offcanvas and Webal Modal have no Width group. If you use Webal Layouts, a section can also carry its colour from edge to edge. Read
Placing a block: width, alignment and space
.