Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using geshifiler module and the code is wrap by "best responsive" theme.
Is there a way to disable the wrapping of source code?
Comments
Comment #1
lastar84 CreditAttribution: lastar84 commentedIf you want to display lines of code without wrapping, even on a mobile device or within a smaller browser window, you might want to check into the CSS "overflow" property -- which allows you to add scrollbars. (There are more elegant JavaScript solutions, but also a lot more work.)
You will need to determine which class(es) must be overridden using the "overflow:scrollbar" style.
Firebug addon for Firefox can be helpful in hunting for classes and ids on Drupal websites.