Master: Sidebar Navigation Icons

Documentation:

JS:

// M: Sidebar Icons $( document ).ready(function() { $("#sidebar-nav ul li").append(''); $(".widget ul li").append(''); var sidebar_height = $('#sidebar-nav').height(); if (sidebar_height == 0) { $('#sidebar-nav').hide(); } $( ".widget ul li" ).each(function(index) { var recent_posts_height = $(this).outerHeight(); var recent_posts_height_icon = $(this).children('i').height(); var top_offset = recent_posts_height / 2 - recent_posts_height_icon / 2; $(this).children('i').css('top', + top_offset + 'px'); }); $('.widget_archive.widget ul li').css('padding-left', '15px'); $('.widget_archive.widget ul li i').css({ 'left': '0', 'right': 'auto', }); $('.widget_archive.widget ul li i').removeClass('fa-angle-right').addClass('fa-caret-right'); });