XF 2.3 Add space between nodes

Solution
I have added this to extra.less

Code:
//separates forum nodes in list
// this makes bg same as page
.block--category .block-container
{background:@xf-pageBg!important;
border:0!important}

//bg and separation of nodes
.node--forum,
.node--page,.node--link,
.node--search
{background-color:@xf-contentBg;
margin-bottom:10px;
    border-top: 0px;}

To also add space between threads use this one

Code:
//separates forum nodes and threads
// this makes bg same as page  
.block--category .block-container,.structItemContainer
{background:@xf-pageBg!important;
border:0!important}

//bg and separation of nodes
.structItem,.node--forum,
.node--page,.node--link,
.node--search
{background-color:@xf-contentBg;
margin-bottom:10px;
    border-top...
I have added this to extra.less

Code:
//separates forum nodes in list
// this makes bg same as page
.block--category .block-container
{background:@xf-pageBg!important;
border:0!important}

//bg and separation of nodes
.node--forum,
.node--page,.node--link,
.node--search
{background-color:@xf-contentBg;
margin-bottom:10px;
    border-top: 0px;}

To also add space between threads use this one

Code:
//separates forum nodes and threads
// this makes bg same as page  
.block--category .block-container,.structItemContainer
{background:@xf-pageBg!important;
border:0!important}

//bg and separation of nodes
.structItem,.node--forum,
.node--page,.node--link,
.node--search
{background-color:@xf-contentBg;
margin-bottom:10px;
    border-top: 0px;}

You can probably lose the !important
 
Last edited:
Solution
Back
Top Bottom