Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Removing padding from article image only

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi there!

Can you please tell me how to remove the padding but only for the article's image only. I want to display the image at 1024px but the the padding from "main" cuts 2% padding on both sides.

fancybirdphoto.com/gallery/birds/toucan-barbet-semnornis-ramphastinus

Thanks alot
  • Jorge Cruz's Avatar
  • Jorge Cruz
  • 12 Month basic
  • 135 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

You could remove it for the main but then you would need to apply it to the content below it

You have inline styling on the h2 and p tags

e.g the p tag

padding: 0px; text-align: justify; color: #000000; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 20px;

and h2

margin-right: 0px;margin-bottom: 10px;margin-left: 0px;padding: 0px;line-height: 24px;font-family: DauphinPlain;font-size: 24px;color: #000000;
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
So it isn't particularly straight forward as just targeting one tag I'm afraid

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul,

I will rather increase the width of the template for the image to display in 1024.
  • Jorge Cruz's Avatar
  • Jorge Cruz
  • 12 Month basic
  • 135 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

The image is currently 1024 x 651

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers