• Resolved P

    (@inkedkoi)


    My website Penstrokes.net
    has a div with my content info in it. I’m trying to hide the scrollbar, but when I do use display:hidden. It will cut off the rest of the text that you would need to scroll down to see.

    I’ve resolved to use overflow-y:auto , but I would really like to lose the scroll bar.
    Would anyone be able to advise what I would need to do. I’ve tried everything I know so far, but no luck. I’ve only been learning WordPress for about 5 months, so I may have missed something in the css.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • You want overflow: hidden

    You can add

    overflow: hidden;

    to the CSS styles for the #Content div

    Thread Starter P

    (@inkedkoi)

    Thanks for the reply, but unfortunately that doesn’t work either. If just cuts off the text that you need to scroll down to see.

    If you get rid of the set height on #content — that removes the issue entirely.

    Thread Starter P

    (@inkedkoi)

    I ended up moving div’s around and making the content div one long div.
    Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide Scrollbar, display: hidden doesn't work’ is closed to new replies.