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.

How can I widen the frame for the images on category and article pages?

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

I am hoping that you might have a tweak that would increase the width of the displayed image on my Category and Article pages. Basically the horizontal rules on these pages are 735 pixels and so we would like to create these pages so that the images would fit within a 735 pixel frame.

What is currently happening is that there is padding on the right hand side that we would like to remove. I actually need to do this on two sites using Rasa2. So, whatever you help me with here I will do on both sites.

Here is an article page:
apf.cloudaccess.net/blog/news/18-news-2

Here is a Category page:
apf.cloudaccess.net/blog/events

I am attaching a couple example images.
Attachments:
  • scarney's Avatar
  • scarney
  • LIfetime Developer - Big Bamboo
  • 896 posts
  • 11 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hi Sean,

try and test adding this line

img.border, .zenborder img {max-width: 100%;}

it may cause a scroll bar on mobile devices so I'd check this carefully
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
And

.img-left {margin:0;}

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
It seems to have worked perfectly. Thank you.

I will keep my eye on it but so far it works on my mobile phone.

Sean
  • scarney's Avatar
  • scarney
  • LIfetime Developer - Big Bamboo
  • 896 posts
  • 11 Thanks
  • Karma: 1
The administrator has disabled public write access.
No problem

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