0

I'm using the panels module in drupal 7. I'm having some problem with the css in panels. I've removed the top and bottom padding in my custom css but there still appears to be some padding. How can I remove it? I have give the id "leftpane" and made the following CSS

#leftpane {
    margin: 0px;
    padding:0px 20px;
    background:#17532E;
    border-radius:17px;
    float: left;
    } 

How do I remove the unknown top and bottom padding?

0

leftpane {

margin: 0px;
padding:0px 20px !important;
background:#17532E;
border-radius:17px;
float: left;
} 

Add !important rule to override existing padding

  • its not working :( – newbie Sep 27 '14 at 12:42
  • Hey can you post reference url your are working on, So i can check and update you – Rishi Sep 29 '14 at 4:53
  • I worked it out. The problem was with the margins in the <p> tag. I had overlooked that. Thanks anyway =] – newbie Sep 29 '14 at 10:13

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.