onecallhire Posted January 16, 2014 Share Posted January 16, 2014 Hi, this might be a hard thing to do, but i want to know if its possible to stick the modules to the page so that they dont move when you scroll. by that i mean to make the side collums stay and the middle section to be the only bit that scolls. Link to comment Share on other sites More sharing options...
Sharak Posted January 16, 2014 Share Posted January 16, 2014 First of all URL please It can be done but it deppends on what modules you have enabled in both side collumns (basicly there probably can't be more than 1 on each side if shop is to be visible on smaller screens like netbooks or tablets), what's the header's height, where is header to be placed (default on top or between side columns. Link to comment Share on other sites More sharing options...
onecallhire Posted January 16, 2014 Author Share Posted January 16, 2014 onecall.net78.net Link to comment Share on other sites More sharing options...
Sharak Posted January 16, 2014 Share Posted January 16, 2014 (edited) Try this http://jsfiddle.net/NGLN/qndjW/6/ Just be aware on smaller screens some content of side columns may be hidden. Better solution would be to add another scrollbar for #center_column by adding this to global.css: #center_column { max-height: 600px; overflow: auto; } Edited January 16, 2014 by Sharak (see edit history) Link to comment Share on other sites More sharing options...
onecallhire Posted January 16, 2014 Author Share Posted January 16, 2014 sorry i am quite new to HTML/PHP codeing. how would i implement this into my site. Link to comment Share on other sites More sharing options...
Sharak Posted January 16, 2014 Share Posted January 16, 2014 Edit /themes/your_theme/css/global.css. Which version of those I suggested would you like? Link to comment Share on other sites More sharing options...
onecallhire Posted January 17, 2014 Author Share Posted January 17, 2014 i no it has to go into the global.css file but which bits on your code would i put into the file and where abouts in the file would they go. once again i apologise this is all new to me Link to comment Share on other sites More sharing options...
nikoz Posted December 8, 2014 Share Posted December 8, 2014 Hello Sharak, I am interested on this topic. I would like the left column to remain stable(or float). I tried what you have suggested : I added this bit of code #center_column { max-height: 600px; overflow: auto; } into themes/mytheme/css/globall.css but again..the same result. No change at all. Do I miss anything? I am using the 1.6 version. Thanks in advance. Link to comment Share on other sites More sharing options...
nikoz Posted December 9, 2014 Share Posted December 9, 2014 sorry. It did work but it messes up a bit my home page. I want that only in category pages. Link to comment Share on other sites More sharing options...
Recommended Posts