Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Fixed AND floating sidebar at the same time


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Nov 26, 2012, 02:32 AM
OsmanSafdar
 
9 posts · Sep 2012
Hello!

How can I make the sidebar fixed as well as floating?

Its easy to make it fixed using this code: position: fixed;

But the it gets fixed such that it doesn't scroll down below the browser.. right?

I want to achieve something similar to the sidebars in here: http://9gag.com/

They scroll till the end of the sidebar and then gets fixed..

Is there any way i can do that in Atahualpa?!

Thanks!
  #2  
Old Nov 26, 2012, 02:42 AM
juggledad's Avatar
juggledad
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Ou should examine the source of the page at that site to see how they do it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Nov 26, 2012, 02:51 AM
OsmanSafdar
 
9 posts · Sep 2012
Ok thanks.

Can you plz suggest me any css code to achieve this effect? I tried to play with position:fixed and bottom:-50px etc but couldn't do it. position:fixed; fixes the sidebar along the length of browser only.... i want it to fixe the entire sidebar so that when someone scrolls down, the sidebar remains there on the browser. Any ideas would be appreciated.
  #4  
Old Nov 26, 2012, 05:04 AM
juggledad's Avatar
juggledad
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
you would have to have a jscript the would know when the last sidebar item showed and then change it to a fixed position
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
fixed, floating, position, sidebar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sidebar position:fixed aygart Sidebars & Widgets 19 Mar 14, 2012 04:56 PM
Fixed Position Layout with fixed center column? 49Monsters Center area post/pages 1 Nov 3, 2010 02:41 PM
How to make Fixed Sidebar Height alauna Sidebars & Widgets 3 May 17, 2010 04:05 PM


All times are GMT -6. The time now is 10:01 AM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.