I am using a view called "exhibit" with multiple fields. I am getting a horizontal scroll bar since the view have multiple fields. But I don't want the horizontal scroll bar.

How can I achieve this.


You can use css like this:

overflow-y: scroll;
overflow-x: hidden;
  • Can you please tell me where to put the css file in my drupal folder – Cindrella Sep 24 '12 at 13:04
  • Find your current theme, it should be in sites/all/themes, then place it there or in a subfolder css. I guess you already have a css file, add those 2 rows there. – drupal_stuff_alter Sep 24 '12 at 13:06
  • I am using bartik theme. which is in themes folder itself. Added those two rows in a test.css file, and added this css file to a view. but still getting scroll bar. – Cindrella Sep 24 '12 at 13:13
  • you need to add these rows inside the css rule that describe the specific views element. – drupal_stuff_alter Sep 26 '12 at 11:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.