Viewing 1 replies (of 1 total)
  • This is if you are resizing the window, you need to add JS to your theme to handle the resize. This is what I added to my theme:
    // Load Events
    jQuery(document).ready(() => routes.loadEvents());

    document.addEventListener(‘DOMContentLoaded’, function() {
    (function() {
    $(window).on(‘resize’, function(e) {
    var barHeight;

    // Show notification bar
    if ( jQuery(‘.mtsnb’).length > 0 ) {
    barHeight = jQuery(‘.mtsnb’).outerHeight();
    jQuery(‘body’).css(‘padding-top’, barHeight).addClass(‘has-mtsnb’);
    }
    });
    })();
    });

Viewing 1 replies (of 1 total)
  • The topic ‘Bar not responsive?’ is closed to new replies.