Shape 5

Joomla Templates => User Choice - August 2007 - Club => : chiwiz February 21, 2008, 06:56:23 PM



: centring modules
: chiwiz February 21, 2008, 06:56:23 PM
I have set up modules in right side column but can't get them to centre. They spill off the right hand side of the module frames. I have reset the width so it is wider than the modules and tried centring all the images in the modules and cant think of anything else to do.

I would like the modules to be centred in their frame. Could anyone please tell me how to achieve this?

permaculture.com.au


: Re: centring modules
: mikek February 21, 2008, 07:43:56 PM
Hi, a few things: first the images are too wide; you'll need to lessen the width or you will have problems in IE. On the second image "Robyn Frances" you have a float:left on it, remove that or it will cause overflow problems.

The easiest way to center any element is to remove your left and right margins and add:

margin-left: auto; margin-right:auto;

As long as you do that they will center.


: Re: centring modules
: chiwiz February 22, 2008, 02:46:59 PM
thanks for your help. I apologise for being so dumb, but I can't find where to make the adjustments you suggest. In the modules I dont seem to have any options to change margins?

where do i make the adjustments you suggest?

thank again


: Re: centring modules
: mikek February 22, 2008, 04:19:55 PM
I would recommend turning off the editor to do this. You can turn it off by going to global configuration and set the editor to none. On each image you will see a style="" The adjustments I mentioned go in this style section of each image.


: Re: centring modules
: chiwiz February 22, 2008, 11:56:25 PM
Hi Mike, thank you for all your help

I have done all you suggested, including reducing the size of the images, but the 3 modules consistently align to the right.

any other ideas why that may be?

thanks again


: Re: centring modules
: mikek February 23, 2008, 11:05:32 AM
Any chance you could private message me an admin login so I can login and look at them? Thanks.