Support Forum

  • Page:
  • 1

CSS code for Image border

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

Hi

I am a new member and I am customizing the Grid2 template at the moment. one thing I would like to do is place a border around article images. Would appreciate any ideas about how I would go about this using CSS instead of PSD.

thanks in advance for your help!

carl
  • carl.rose's Avatar
  • carl.rose
  • 3 Month Basic
  • 8 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Carl,

You can actually just specify the border class for the image and it should automatically do it for you.

Two wats:

1. Click on the image in your editor and from the style drop down l;its select the border class then hit save or apply.

2. Or toggle the editor off so you can view the source. Then add class="border" to the image so it looks like this:

<img src="myimage" class="border" etc ...

Hope that helps.

Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Doh! of course. Thanks Anthony.:)
  • carl.rose's Avatar
  • carl.rose
  • 3 Month Basic
  • 8 posts
  • Karma: 0
The administrator has disabled public write access.
B) Glad that works for you Carl. Thanks for letting us know.
  • Seth's Avatar
  • Seth
  • Moderator
  • 8358 posts
  • 225 Thanks
  • Karma: 202
The administrator has disabled public write access.

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

Happy Campers