[DCom] NeuMorph 2.2.10.2

also, in desktop mode, main page, how to reduce background border to maybe 1% instead of current 10-15%
i feel a lot of wasted space just on the background
 
also, in desktop mode, main page, how to reduce background border to maybe 1% instead of current 10-15%
i feel a lot of wasted space just on the background
If I understand correctly, then in extra.less
Less:
.p-pageWrapper {
  padding: 70px; //margin from the edge of the screen
}
 
This is the code from the default style
Less:
@media (max-width: @xf-responsiveMedium)
{
    .node-main
    {
        display: block;
        width: auto;

        .node--link &,
        .node--page &
        {
            // #168882: we only display the title for these types
            // so keep these as table-cells for vertical alignment
            display: table-cell;
        }
    }

    .node-extra
    {
        display: block;
        width: auto;
        // this gives an equivalent of medium padding between main and extra, with main still having large
        margin-top: (@xf-paddingMedium - @xf-paddingLarge);
        padding-top: 0;
    }

    .node-extra-row
    {
        display: inline-block;
        vertical-align: top;
        max-width: 100%;
    }

    .node-extra-icon
    {
        display: none;
    }

    .node-description,
    .node-stats,
    .node-subNodesFlat
    {
        display: none;
    }
}

You are trying to convince me that subcategories are displayed by default, but this is not so
Less:
    .node-subNodesFlat

    {

        display: none;

    }
 
To display subcategories on mobile, you can add code
Less:
@media (max-width: @xf-responsiveMedium)
{
    .node-subNodesFlat
    {
        display: inline-block;
    }
}
 
Less:
[data-template="forum_list"] {
    .p-body-main {
        .p-body-content { 
              padding-left: 60px;
        }
    }
}
 
Back
Top