• Hi,

    So I have added a small logo to my post title which displays a graphic saying ‘Hot’ for obvious purposes. My problem is however, that the image is set to 24px x 24px but ends up taking up more space than that because it has padding added onto it, about 6px x 6px. How can I remove this padding from the image? Any simple way to do it?

    Thanks

    Oh, and the site in question is deals.postdemise.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • You’ll need to edit your theme’s CSS. Try using Firefox with the Firebug add-on for this kind of CSS work.
    https://getfirebug.com/

    Thread Starter Deamie

    (@deamie)

    Thanks for the swift reply esmi.

    I have used CSS extensively before and feel comfortable that I could make this kind of change, but I was looking for a more unique fix in the sense that I don’t want to remove the padding for all images, just this one and others like it in the future.

    I have used CSS extensively before

    Then you should be able to target this image using the appropriate CSS selectors.

    Thread Starter Deamie

    (@deamie)

    True, but I was hoping there would be a quicker and simpler fix.

    I have just gone ahead with your initial suggestion, I was hesitant to do so as it could have caused problems with other existing images but it seems to have gone down well.

    Thanks for your input esmi! I will add you to the Credits if that means anything ??

    Glad I could help ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Possible to change a images padding?’ is closed to new replies.