I am currently working on a website n I've a menu block on a page in the sidebar_first (using acquia_marina as the reference theme). The block shows up correctly as per my settings on certain pages but has a fixed location on the region. How do I make it scroll down when the user scrolls down on the page? Is there any way I could do it in Drupal/PHP or do I need to have javascript? If the answer is javascript any references would be highly appreciated. Thanks

Comments

Poieo’s picture

You can try...

#sidebar-first {
  position: fixed;
}

in the stylesheet. You may or may not have to adjust the starting position with css.

vikp’s picture

It works actually as the way I want except a small problem. When I set the postion for #siderbar_first as you mentioned it moves my little 'rss feed icon' to the top right corner of #main block and also all the #content-wrapper moves to the left. I tried changing the #content-wrapper as postion: right and then it works where my block scrolls down properly but the 'rss feed icon' I see now on the top left corner of #main. What would be a fix to show the rss feed icon at the bottom left corner (where it should be). Thanks for your post by the way