function setTitleSize() {
        var sb = templateOpts.sidebar.enabled;
        var nb = templateOpts.navbar.enabled;
        if (!sb && !nb) return;
        var $a = sb
            ? $('.sidebar-title a')
            : $('.navbar-title a');
        // titles font-size is 18px
        if ($a.height() > 18) {
            var css = { 'font-size': '16px' };
            $a.parent().css(css);
            if (nb) {
                $('.navbar-title').css(css);
            }
        }
    }
function setTitleSize() {
        var sb = templateOpts.sidebar.enabled;
        var nb = templateOpts.navbar.enabled;
        if (!sb && !nb) return;
        var $a = sb
            ? $('.sidebar-title a')
            : $('.navbar-title a');
        
        if ($a.height() > 18) {
            var css = { 'font-size': '16px' };
            $a.parent().css(css);
            if (nb) {
                $('.navbar-title').css(css);
            }
        }
    }
function setTitleSize ( ) { var sb = templateOpts . sidebar . enabled ; var nb = templateOpts . navbar . enabled ; if ( ! sb && ! nb ) return ; var $a = sb ? $ ( '.sidebar-title a' ) : $ ( '.navbar-title a' ) ; // titles font-size is 18px if ( $a . height ( ) > 18 ) { var css = { 'font-size' : '16px' } ; $a . parent ( ) . css ( css ) ; if ( nb ) { $ ( '.navbar-title' ) . css ( css ) ; } } }
--------------------------- HELPER METHODS --------------------------- 
Checks whether the sidebar title has wrapped to the second line. If so,
decreases the font-size of both sidebar and navbar titles.
--------------------------- HELPER METHODS --------------------------- Checks whether the sidebar title has wrapped to the second line . If so decreases the font - size of both sidebar and navbar titles .