coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: wahookah on August 29, 2007, 10:10:05 AM

Title: Center Gallery - kaki theme
Post by: wahookah on August 29, 2007, 10:10:05 AM
Hi, this should be an easy one, but still i couldn´t search the solution...

I use the kaki theme and the whole gallery is aligned to the left, but i want it to be centered.

I´ve searched through style.css template.htm and theme.php turning all the "align"-tags to center, but it always stays on the left side.

can anybody point me to the right direction please?

thnx
Title: Re: Center Gallery - kaki theme
Post by: Nibbler on August 29, 2007, 01:57:39 PM
Post a link to your gallery.
Title: Re: Center Gallery - kaki theme
Post by: wahookah on August 29, 2007, 02:04:31 PM
http://wahoo.sonance.net/photos

thnx
Title: Re: Center Gallery - kaki theme
Post by: Nibbler on August 29, 2007, 03:11:44 PM
Edit table.main and change the margins from

margin: 0px 0px 0px 0px;

to

margin:0px auto;

Might need more to work in IE though.
Title: Re: Center Gallery - kaki theme
Post by: wahookah on August 29, 2007, 03:43:16 PM
i changed

margin: 0px 0px 0px 0px;
to
margin:0px auto;

first in #top_menu {
so it worked for Firefox

then in table.main {

and then it worked for Firefox an IE :D

thnx for the help!