Hi, I am trying to have an image in the left side block but because of the padding in style.css the image is not being fit perfectly in the block. I want to change the style of that particular block only. I have found out the delta id of that block, but just dont know how to change the style in local.css for that particular block. please find attached a snapshot of the block.Thanks

CommentFileSizeAuthor
#2 block-image.jpg20.25 KBpathaksumit
block-image.jpg20.75 KBpathaksumit
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

danpros’s picture

Hi,

Use Firebug to find the ids of your block or simply see the sources via right clicking, the code should like this

#your-block-ids .block-content-inner {
margin: 0;
padding: 5px 15px 5px 15px; <!-- change this -->
}

Dan

pathaksumit’s picture

FileSize
20.25 KB

Thanks alot Dan, i implemented the code local.css and got rid of the right, left and top padding. but, I am still getting some padding at the bottom of the image. Please see the screenshot attached and below the code i implemented.

#block-block-5 .block-content-inner {
margin: 0;
padding: 0px 0px 0px 0px;
}

Thanks

danpros’s picture

Status: Active » Closed (fixed)

Hi,

Please use Firebug to know what value is that.

Dan