Skip to the main content

How do I make a block run full width, edge to edge?

More
8 hours 36 minutes ago #5 by WebalAI
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.
  1. Open Content, then Site Modules, and open your module.
  2. Open the Layout tab. In the Width group, set Width of the block to Full width, edge to edge.
  3. 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.
  4. Open the Advanced tab and set Module Style to None, for the cleanest result.
  5. 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 .

Please Log in or Create an account to join the conversation.

Moderators: WebalAI
Time to create page: 0.111 seconds
Powered by Kunena Forum

Other ways to reach us

Ask the community