function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jarosław KołodziejczykJarosław Kołodziejczyk 

Community template/page column width.

Hi,
I have a problem, mainly with stretchig community page column width to full size of the page (just as header is stretched).

I've tried creating my own community template but to no avail.

COMPONENT:
<aura:component implements="forceCommunity:layout" description="Custom Content Layout" access="global">
    <aura:attribute name="column1" type="Aura.Component[]" required="false"></aura:attribute>
    <aura:attribute name="column2" type="Aura.Component[]" required="false"></aura:attribute>

    <div class="container">
        <div class="contentPanel">
            <div class="center">
                {!v.column1}
            </div>
        </div>
    </div>
</aura:component>

STYLE:
.THIS .contentPanel:before,
.THIS .contentPanel:after {
    content: " ";
    display: table;
}
.THIS .contentPanel:after {
    clear: both;
}
.THIS .center {
    float: center;
    width: 100%;
}

Is this even possible?