[cXF] Navigation tab icons for XF 2.1 and XF 2.2

DIY [cXF] Navigation tab icons for XF 2.1 and XF 2.2

Currently reading:
DIY [cXF] Navigation tab icons for XF 2.1 and XF 2.2

BassMan

Staff member
Administrator
May 18, 2015
1,952
1,088
BassMan submitted a new resource:

[cXF] Navigation tab icons 2.1 - Icons for navigation tabs and its subnavigation links also on mobile menu

NOTE: This code is for XenForo 2.1 and above

View attachment 1569


View attachment 1570



Add code to extra.less template:
Less:
/* [cXF] Navigation tab icons 2.1 */
.p-navEl a&, .offCanvasMenu--nav .js-offCanvasNavTarget a& {

    &:before {
        .m-faBase();
        display: inline-block;
        text-align: center;
        margin-right:5px;
        line-height:normal;
    }
    
    &[data-nav-id='home']:before...

Read more about this resource...
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to customizeXF

We are running default XenForo style customized by cXF
Registration is free!

Search forums

Similar threads

Similar threads

Top