Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • crazyleggs Friend
    #187511

    Is there anyway to adjust the height of sidebar-inner? I can adjust the width, but not the height. firebug shows as

    element.style {
    height: 508px;
    overflow: hidden;
    }

    Which shifts dynamically as the height of the window changes


    1. sidebar-inner
    Wall Crasher Developer
    #492903

    Hi crazyleggs,

    The sidebar height is automatically resized as the window size changes.
    It’s the default behavior of JA Wall.

    You need to modify /templates/ja_wall/js/script.js to disable resize the height.

    if (jsidebar.length) {
    if(JawallMenu.isTablet){
    jsidebar.css({
    position: 'fixed',
    top: ''
    });
    }

    jsidebar
    .add(jsidebar.find('.sidebar-inner'))
    .css('height', Math.max(80,
    (window.innerHeight || $(window).height())
    - parseInt(jsidebar.css('top'))
    - parseInt(jsidebar.css('margin-bottom'))
    - parseInt(jsidebar.css('padding-bottom'))));

    if(window.sidebarIScroll){
    window.sidebarIScroll.refresh();
    }
    }

    .

    Regards

    crazyleggs Friend
    #492998

    Thanks Wall Crasher,

    I removed “(window.innerHeight || $(window).height())” and modified “.css(‘height’, Math.max(80,” to adjust the height of the sidebar.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  crazyleggs 11 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum