Gallery width problem

gtam48b

Joined: 2007-10-05
Posts: 3
Posted: Fri, 2007-10-05 19:42

Posted this on the previous forum but never got an answer.

I'm trying to integrate WP 2.2.3 and G2 2.2.3 with WPG2 2.13. Everything works but I can't change the width of the embedded page. I've read the 2108 thread and all the other posts I could find going back 2 years but nothing changes.

Here's a link to a page that shows my problem.

The photo is an 11 pic photomerge from CS3 taken with a Nikon D200 and 18-200mm lens last week in the French Alps. The header picture is a 7 shot merge taken on the same trip.

For ClimbingMonkey - where is the WPG2 Output tab?

Thanks for reading this and would appreciate any help anyone can give me.

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Fri, 2007-10-05 19:51

I'm not sure I understand the base question. The CSS for the embedded gallery is in the Gallery2 theme, so that's the place to look. I highly recommend Firebug in Firefox for figuring out which CSS is affecting which elements. (Two other Firefox plugins that I swear by for figuring out what is happening within a page are Web Developer and View Source Chart.)

The WPG2 Output tab is in WPG2 3.0

We just posted WPG2 3.0.1, which fixes two small bugs. So far, the 3.0 series is looking very stable, so it's safe to upgrade. I'm running it on my family site.

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

 
gtam48b

Joined: 2007-10-05
Posts: 3
Posted: Fri, 2007-10-05 21:21

Thanks for the reply. Sorry if I wasn't clear but the problem is the width of the embedded gallery page in my wordpress theme. I have wpg2content defined in style.css and also in a wpg2.css file. Nothing happens if I change the width parameter for that div. I also define g2_content and g2_column in a wpg2header and that div is also in the stylesheet but changing the width parameter has no effect.

I've been using firebug since coming across it in the forums last week. I'm a semi-novice in that I have a functioning WP, G2, WPG2 setup that I updated last year and it uses essentially the same code but runs on WP 2.1.2, G2 2.0, and WPG2 1.0.

The forums have been invaluable in learning this stuff but this problem has me stumped. It's probably something simple but I just don't see it.

Thanks again.

 
ClimbingMonkey

Joined: 2005-03-18
Posts: 62
Posted: Wed, 2007-10-10 07:18

Check your Gallery CSS stylesheet... The following lines in particular...

#gallery {theme.css (line 198)
background-color:transparent;
color:#333333;
font-size:100%;
}
#gallery {theme.css (line 119)
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:65.5%;
padding:8px;
}

In your case this is the css that is controlling your width. You can add a width element or adjust the padding in firebug to see what I'm talking about...

http://www.marcnjami.com/

 
gtam48b

Joined: 2007-10-05
Posts: 3
Posted: Wed, 2007-10-10 17:47

Thanks for the reply. I finally figured this one out this morning just before your post. Added a width element and adjusted the margin. It works fine in Firefox and Safari but not so well in IE6. There the background is dropping out and the text is not aligned left. I'm searching for answers to that now. Is there a site that gives some compatability tips for different browsers? I've looked at several pages of google hits but not found anything.

Thanks again.

 
ClimbingMonkey

Joined: 2005-03-18
Posts: 62
Posted: Thu, 2007-10-11 02:04

You just have to love IE... --- Begin Rant --- I sure wish Microsoft would pull the stick out of their a$$ and make thier stuff comply with the standards that the rest of the world has agreed to use --- End Rant --- With that out of my system, I just tinker with changes and test the crap out of stuff till I.E., FF, Opera, and Safari look like they should...

---------------------------------------------------
Wordpress / Gallery2 (WPG2) Developer
My Site: http://www.marcnjami.com/

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Thu, 2007-10-11 03:16

One of my favorite sites for figuring out browser differences is http://www.positioniseverything.net/

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