Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What I did was use position: absolute to have them the way I want, but that is probably not a good idea. I tried to put padding and margin 0 everywhere, but Drupal seems to override my CSS or something.

share|improve this question
have you tried margin:0px !important; ? – Tyler Durden Jan 3 '13 at 14:38
up vote 0 down vote accepted

Assuming D7,

You can use drupal_add_css() through a node or page template and add in your own styling that way. That should get loaded last. drupal_static_reset() can clear out css that may be conflicting if you encounter stubborness.

Also... clear the cache?

share|improve this answer

You can override Drupals styling rules. Just use your browsers (Chrome, Firefox) developer tools to inspect elements for whats styling rules they have. Then override them in your themes stylesheet(s).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.