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.

Border round main area

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

Hi
J3.3.6 Responsive template
www.leadbetters.co.uk/newsite/
The client wants me to put a black border round the main text area throughout the site, as per the attached visual.
Has anyone any ideas?
Thanks
Ian
border.jpg
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Not sure this will help the site but ...

article {border: 1px solid #000;}

section.article-content {padding:1em}

so you will need to adjust the padding and border colour value as required

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul.
I'm not sure either, but clients are clients :-(
I'll try to talk him out of it.

So, add this to custom.css, and then add the class to the content in each case?
How will that work with the accordion pages…?
Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
ah

My suggestions are global so it would depend on how many pages you don't want

If its a couple of pages with the accordion on you can use itemid class and null the values

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

I've just added your script to custom css and it's done it - and it looks HORRIBLE :-)

Sorry for being slow, but how does it work? And presumably I can add rounded corners and drop shadows if I want to?

Thanks again for the help…

Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Yes I can - makes it look better. I'll tone it down a bit more and let him have a look.
Thanks again…
Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Yeah not sure how it would any good :)

no problem
  • 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