WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Hide Scrollbar, display: hidden doesn't work (5 posts)

  1. inkedkoi
    Member
    Posted 1 year ago #

    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

  2. rachelbaker
    Member
    Posted 1 year ago #

    You want overflow: hidden

    You can add

    overflow: hidden;

    to the CSS styles for the #Content div

  3. inkedkoi
    Member
    Posted 1 year ago #

    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.

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

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

  5. inkedkoi
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic