iStudio Theme, sticky sidebar
-
Hi,
first of all, thank you for your greate theme.but i think there is a problem with sticky sidebar.
when you change browser size (for example: width lower than 1024px) the sticky sidebar in fixed position, will place in wrong position.
and i think this is because of positioning in script.jsif(sideHeight<a) {side.addClass('fixed').css('left',sideoffset.left+'px')} else{side.removeClass('fixed')}
so, i make the folowing change and it seems the problem resolved:
1- in sidebar.php i placed a wrapper div around aside :<div id="asideWrapper"> <aside id="aside"> ... </aside> </div>
2- then in style.css set all the style of aside (line92) to new element :
#asideWrapper{float:right;overflow:hidden;margin:0 20px 0 0;width:250px;text-align:left;} aside{}
3- and finally remove the positioning in .js
if(sideHeight<a) {side.addClass('fixed')} else{side.removeClass('fixed')}
- The topic ‘iStudio Theme, sticky sidebar’ is closed to new replies.