Title: about scrolling the code
Last modified: November 21, 2019

---

# about scrolling the code

 *  [evlee](https://wordpress.org/support/users/evlee/)
 * (@evlee)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/about-scrolling-the-code/)
 * Hi there,
    I am searching online to figure any way to introduce scroll bar when
   screen is small. I found that there were some posts about a similar topic dated
   back to at least a year ago. I also find that the author mentioned it could be
   fixed by modifying the css as
 * .EnlighterJS{
    width: auto !important; overflow-x: scroll !important; word-wrap:
   normal !important; } .EnlighterJS li{ white-space: pre !important; }
 * I wonder if this hack is still work or there will be other way to make scolling
   work. For my case, I try the css but it doesn’t work.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * (@andi-dittrich)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/about-scrolling-the-code/#post-12158630)
 * see the original support thread for details: [https://github.com/EnlighterJS/Plugin.WordPress/issues/31](https://github.com/EnlighterJS/Plugin.WordPress/issues/31)
 * the solution which might work depends on your theme
 * —–
 * alternatively you can use Enlighter v4-BETA1 (available on GitHub) which includes
   a build in scroll solution which works with modern themes

Viewing 1 replies (of 1 total)

The topic ‘about scrolling the code’ is closed to new replies.

 * ![](https://ps.w.org/enlighter/assets/icon-256x256.png?rev=1215872)
 * [Enlighter - Customizable Syntax Highlighter](https://wordpress.org/plugins/enlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/enlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enlighter/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/about-scrolling-the-code/#post-12158630)
 * Status: not resolved