Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Theme coding: when I set my sidebar to fixed, my scrollbar stops working.

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #261197
    rosesandrue
    Participant

    Hello all,

    I have been coding and re-coding my Tumblr theme for a week, and I am having the same problem over and over again.

    Obviously, when my sidebar is not set to position:fixed; it doesn’t stay where I want it to. However, when it is set to that, my scrollbar stops working. If I set my sidebar to virtually any other position – relative, auto, initial, static – my scrollbar works just fine. I’ve tried setting my scrollbar to fixed, adding a z-index to it, nothing.

    I have uploaded my CSS text here and you can see the problem here here.

    Thanks you, hopefully!
    Inna

    #261200
    Beverleyh
    Participant

    Sorry, but it’s unlikely that folks will poke about in your website for you to troubleshoot on your behalf owing to all the extra markup, CSS and JavaScript. Too much effort and too many distractions and stuff to filter through, you see. Not very inviting for us when we’re browsing in our spare time.

    The code dump in CodePen is a start, but unfortunately it doesn’t illustrate the problem (the shortcodes don’t mean much outside of Tumblr – you’d need to extract examples of the served HTML and put that and the CSS in the correct CodePen panels). What we need is a working demo. Something with just enough HTML and CSS to recreate/demo the problem you describe.

    Help us to help you.

    #261201
    JeroenR
    Participant

    All your content is in the fixed sidebar, so that’s why the content won’t scroll.
    So the content should be in a different container.

    #261202
    rosesandrue
    Participant

    JeroenR,

    Thank you SO much! You’re right, I was missing a /div! All the best to you.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.