forum.coppermine-gallery.net

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

Code: [Select]
margin: 0px 0px 0px 0px;
to

Code: [Select]
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

Code: [Select]
margin: 0px 0px 0px 0px;
to
Code: [Select]
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!