I wish one of the columns when you scroll down the web page, not change - to set as static. How can I do this? Please advice
I wish one of the columns when you scroll down the web page, not change - to set as static. How can I do this? Please advice |
Set css for page_column_x in your template: position: -webkit-sticky; |
Set css for page_column_x in your template: position: -webkit-sticky; you mean position: fixed; ? sticky position isn't supported on all browsers. so much to do.... |
Firefox and WebKit – thats enough. Doesn't kill layout if not supported. |
Firefox and WebKit – thats enough. Doesn't kill layout if not supported. unless your target audience are web developers who likes to play with cutting edge stuff than no its not. http://stackoverflow.com/questions/15646747/css-position-sticky so much to do.... |
It doesn't really matter if it doesn't work now in all browsers. It will work soon. Someone has to start using it for developers to implement it. Web design is nothing that is pixel perfect like you want it for every single user. Live with it.
Looks nice
|
OP asked for a solution for "now". I am aware that there will be a lot of new stuff in future. so much to do.... |
Sorry, what are you trying to prove here? so much to do.... |
His users have mostly firefox and chrome |
His users have mostly firefox and chrome Good for him but does that explains why he should use something that isn't supported by default on any mainstream browser "yet". so much to do.... |
Go tell Apple |
Thanks guys for the information and code. Here's exactly what I mean. For eg here: http://www.areavis.com/m/humor/view/Jeśli-chcesz-poczuć-adrenalinę-obejrzyj-wspinaczkę-na-najwyższy-wieżowiec-w-Chinach
page_column_3 I try it but not work for me. Please advice |
Read up on position:fixed and the * hacks for older IE browsers. While a lot of CSS3 and HTML5 has been adopted by modern browsers, remember that CSS3 and HTML5 have not been officially released yet. Geeks, making the world a better place |
Will be enabled in Firefox 32. |
I'm still trying to understand the bizarre combination of modules on this guys site. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
For that page. This css should work.
#page_column_3 {
margin-right: -564px;
position: fixed;
right: 50%;
z-index: 90;
}
And this should work in all modern browsers. However you will find that because of the full width comments you have at the bottom of the page you will not like the results. Your fixed column will end up over that stuff when you scroll to the bottom. Bet you did not think about that. You can take the z-index out of that CSS above so the column will appear under the rest of that stuff, but it still in the way. https://www.deanbassett.com |
Hi guys , This is really an interesting bit , is it possible to tell me how to scroll the left 1st left column where's there's account and the middle column where's the News feed wall . Thank you. See Picture below for reference. Proud Hosted by Zarconia.net |