You need to sign in to do that
Don't have an account?
Jarosł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?
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?