Placing Content Outside of Region Container My custom bootstrap sub-theme has a main content region which is the place that all the main content is to go within a .container class.

The code for that section is as follows:

    {# Main #}
    {% block main %}
      &lt;main role="main"&gt;
        &lt;div class="container"&gt;
          &lt;div class="row"&gt;

            {% if page.sidebar %}
              {% block sidebar %}
                &lt;aside class="col-sm-3" role="complimentary"&gt;
                  {{ page.sidebar }}
                &lt;/aside&gt;
              {% endblock %}
            {% endif %}

            {%
              set content_classes = [
                page.sidebar ? 'col-sm-9',
                page.sidebar is empty ? 'col-sm-12'
              ]
            %}
            &lt;section{{ content_attributes.addClass(content_classes) }}&gt;

              {% if page.announce %}
                {% block announce %}
                  &lt;div class="announcements"&gt;{{ page.announce }}&lt;/div&gt;
                {% endblock %}
              {% endif %}

              {% block content %}
                &lt;a id="main-content"&gt;&lt;/a&gt;
                {{ page.content }}
              {% endblock %}

            &lt;/section&gt;

          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/main&gt;
    {% endblock %}


Now I want to create a couple view blocks on my homepage within this main content region but I'd like the backgrounds and content to extend outside the main container and be 100% of the screen width.

Is there a way for me to do this with my current code or is there another way to go about this?
Following your structure one way could be:

Wrap your views block structure as shown below:

        &lt;/section&gt; #Section ends
        &lt;/div&gt; #Row ends
        &lt;/div&gt; #Container ends

        #Full width, out of container
        [View_block] #View block out of container
        #Full width ends

        &lt;div class="container"&gt; #Container opens
        &lt;div class="row"&gt; #Row opens
        &lt;section{{ content_attributes.addClass(content_classes) }}&gt; #section opens
        # Rest of the content is in container...


This will maintain the original structure and places your views blocks outside of the container and within the main content.
Even if this block is turned off, the page will not break.

Please modify as per your final output.