Q & A /

How to set background outside of Bootstrap container?

Theodore J. photo
Theodore J. asked

I can set properties of Bootstrap container but wish to set background color outside it (on the left and on the right of it). Is this possible?

Dmitriy Komarov photo
Dmitriy Komarov answered

You need to use sections instead of just containers. Section is a wrap for container.

If you create new container, choose to insert a section. If you already have a container, there is an action on the left bottom part of the sidebar "Convert to section" you can press for selected container and use section after doing this.

Answer accepted