SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Wordpress separate sidebar scroll

    hi, i wanted to have a sidebar in my wordpress default theme to have its own scroll bar, without moving down with the content. how can i?
    All those who wander aren't lost.

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    If I understand what you mean, you could try setting a height on the sidebar and setting it to overflow: auto;

  3. #3
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Well i did wrapped it a div with position fixed and inner div to scroll. that does it, but in post, its not working. does post use single.php or what?
    All those who wander aren't lost.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by nofel View Post
    Well i did wrapped it a div with position fixed and inner div to scroll. that does it, but in post, its not working. does post use single.php or what?
    Ah, right, position: fixed. Now I see what you meant. It might depend on what theme you are using how the sidebar feeds into the various pages. I'm afraid I'm not familiar enough with WP any more. Can you provide a link to your site?

  5. #5
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    http://bit.ly/gHCKf9 i have fixed the scroll for pages but not sure where does the post get its power from
    All those who wander aren't lost.

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by nofel View Post
    where does the post get its power from
    I don't know what you mean by that.

  7. #7
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    meaning, which template the post uses for populate itself.
    All those who wander aren't lost.

  8. #8
    SitePoint Wizard rguy84's Avatar
    Join Date
    Sep 2005
    Location
    Durham, NC
    Posts
    1,659
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    A blog post uses the single.php template file for individual blog posts. Unless you or the theme author set up templates based on categories, which I don't think there is.
    Ryan B | My Blog | Twitter


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •