-
AuthorPosts
-
crazyleggs Friend
crazyleggs
- Join date:
- May 2008
- Posts:
- 138
- Downloads:
- 3
- Uploads:
- 4
- Thanks:
- 16
- Thanked:
- 17 times in 1 posts
May 15, 2013 at 3:49 am #187511Is 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
Wall Crasher DeveloperWall Crasher
- Join date:
- December 2011
- Posts:
- 1113
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 66
- Thanked:
- 361 times in 300 posts
May 16, 2013 at 1:55 am #492903Hi 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
1 user says Thank You to Wall Crasher for this useful post
crazyleggs Friendcrazyleggs
- Join date:
- May 2008
- Posts:
- 138
- Downloads:
- 3
- Uploads:
- 4
- Thanks:
- 16
- Thanked:
- 17 times in 1 posts
May 16, 2013 at 1:04 pm #492998Thanks Wall Crasher,
I removed “(window.innerHeight || $(window).height())” and modified “.css(‘height’, Math.max(80,” to adjust the height of the sidebar.
AuthorPostsViewing 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
Adjust Height for Sidewall-Inner
Viewing 3 posts - 1 through 3 (of 3 total)