Title: Text Widget with Scrollbar?
Last modified: August 20, 2016

---

# Text Widget with Scrollbar?

 *  Resolved [Alison](https://wordpress.org/support/users/anonymical7/)
 * (@anonymical7)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/text-widget-with-scrollbar/)
 * Hi All,
 * I have been searching _high and low_ for a way to make a
    - widget with a scrollbar?
 *  Given the fact googling has just resulted in finding other people asking for
   it. I hope here someone might point me to either another plug in that simply 
   allows the user to put text in and have a sliding scroll bar?
 * It would be great to tick some box on the text widget in the future to have a
   scrolling option… Anyhow, help would be very much appreciated! I have automatic
   scrollers that are animated, but thats not what I am looking for.
 * Greetings, A

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Riversatile](https://wordpress.org/support/users/riversatile/)
 * (@riversatile)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/text-widget-with-scrollbar/#post-2111568)
 * Hi,
 * Yes, it’s possible !
    Here is the code to use in a text/html widget : The overflow
   attribute is here to say ‘**allow a scrollbar to see more content**‘ in the **
   150 pixels of Height**.
 *     ```
       <div style="overflow:auto;height:150px;">
       <p>[First entry and a really long one to see how it handles a long line]
       Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
       <p>Second entry</p>
       <p>Third entry</p>
       <p>Fourth entry</p>
       <p>Fifth entry</p>
       <p>Sixth entry</p>
       <p>Seventh entry</p>
       <p>Etc Etc...</p>
       </div>
       ```
   
 *  [Riversatile](https://wordpress.org/support/users/riversatile/)
 * (@riversatile)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/text-widget-with-scrollbar/#post-2111569)
 * I’ve found this in a second !
    [http://onecoolsitebloggingtips.com/2008/08/17/adding-scroll-bars-to-text-widgets/](http://onecoolsitebloggingtips.com/2008/08/17/adding-scroll-bars-to-text-widgets/)
 *  Thread Starter [Alison](https://wordpress.org/support/users/anonymical7/)
 * (@anonymical7)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/text-widget-with-scrollbar/#post-2111587)
 * Ah! thanks! It worked great!…. Not sure why I overlooked that one….
 * A
 *  [fatcat7060](https://wordpress.org/support/users/fatcat7060/)
 * (@fatcat7060)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/text-widget-with-scrollbar/#post-2111988)
 * Is it possible to add this scroll code to the “Recent Posts” widget? We want 
   to have all posts viewable, but obviously, this will eventually become long and
   cumbersome. A long list with a scroll bar would be the perfect solution. I’ve
   seen it done on other blogs (but they were not WordPress, don’t know if that 
   makes any diff).
 * Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Text Widget with Scrollbar?’ is closed to new replies.

## Tags

 * [text](https://wordpress.org/support/topic-tag/text/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 4 replies
 * 3 participants
 * Last reply from: [fatcat7060](https://wordpress.org/support/users/fatcat7060/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/text-widget-with-scrollbar/#post-2111988)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
