How to adjust location of album

lawtai

Joined: 2004-07-06
Posts: 40
Posted: Wed, 2007-10-10 02:06

I recently upgraded from WPG2 v2.0 to WPG2 3.0.1. I had it looking correct in wpg2 v2.0 but after upgrading, my photos shifted to the right 1/4 of the page.

http://www.taibros.net/wpg2/

I've tried editing the .css for the gallery theme, but it hasn't seemed to make any difference. I'm somewhat at a loss as to how to fix this. Any help would be greatly appreciated.

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-10 02:57

Try changing these two sections of css from

#content {style.css (line 57)
float:right;
margin-right:15px;
overflow:hidden;
padding:0pt;
width:695px;
}
.g2_column {wpg2 (line 69)
margin:0px 1px 0px 12px;
width:738px;
}

to

#content {style.css (line 57)
margin-right:15px;
overflow:hidden;
padding:0pt;
}
.g2_column {wpg2 (line 69)
margin:0px 1px 0px 12px;
}

And get Firebug, it's awesome at troublshooting these types of problems.

EDIT: Sorry, I had the two blocks above backwards on my first try. That's what I get for doing it too quickly...

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
lawtai

Joined: 2004-07-06
Posts: 40
Posted: Wed, 2007-10-10 11:18

yea i completely forgot that wpg2 uses pages, so that might be my issue. I'll give your suggestion a shot. thanks!

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-10 13:06

Sorry, I had the From and To blocks backwards on my first try. See my edited post above...

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
lawtai

Joined: 2004-07-06
Posts: 40
Posted: Wed, 2007-10-10 22:04

I'm finding that some code somewhere is adding the following style into the css.

<style type="text/css">
.content { width: 738px; }
.gallery-thumb { width: 180px; height: 180px; }
.gallery-album { height: 210px; }
</style>

I've looked all over, but I can't seem to find out where that's coming from. That code is affecting the layout since I can't find it to be able change it...