XF 2.1 Nav bar styling

CFMack

Active member
Is there a way to "clip" the navigation and sub-nav bars, so they're the same width as the rest of the forums?
 
Last edited:
I did some digging, and found this:
Code:
body .p-header,
body .p-navSticky,
body .p-sectionLinks
{
    margin: 0 auto;
    max-width: (@xf-pageWidthMax - (@xf-pageEdgeSpacer * 2));
    width: 100%;
}

body .p-header
{
    background-clip: content-box;
}

body .p-nav-list:before
{
    width: 0;
}

body .p-nav-opposite
{
    margin-right: 0;
}

I clipped out the bits that had to do with the header, and I achieved the look I am going for. Thanks to @CyberAP for posting this.
 
Back
Top Bottom