how do i make my wpg2 page span the entire width of the browser window?

aharami

Joined: 2007-04-16
Posts: 47
Posted: Fri, 2007-10-19 23:05

blog - http://www.raktim.com
gallery - http://www.raktim.com/gallery/main.php

I like the carbon theme for gallery and wish to use that for my gallery. My goal is to bring some sort of similarity between my blog and my gallery. I have WPG2 activated but right now have it set as "WPG2 Output via Standalone Gallery2 Page" in the "WPG2 output" tab. Ive been shying away from truly embedding my gallery in Wordpress because gallery gets shrunk withing the primary column as shown in this image link - http://pics.apartment808.com/users/aharami/gallery_embd.jpg.

I want the gray gallery box to span the entire width of the browser window. Is that possible? If so, how. Or is the gallery box bound to the primary wordpress column?

 
aharami

Joined: 2007-04-16
Posts: 47
Posted: Tue, 2007-10-23 00:01

anyone?

 
ClimbingMonkey

Joined: 2005-03-18
Posts: 62
Posted: Wed, 2007-10-31 05:44

I use K2 as well and yes it is do able. Is it simple and easy? No. Your gallery is somewhat bound by your wordpress theme. You would have to make a custom header and footer, modify some of the DIVS that control the width of your page and create your custom CSS styles to control the look and feel.

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

 
Stefania Castelli
Stefania Castelli's picture

Joined: 2009-03-04
Posts: 1
Posted: Wed, 2009-03-04 20:07

I wouldn't be so tragic and complicated.

The trick is to open the style.css of the loaded WP theme and identify the div that contains the sub div "content".
Generally, if the theme is not too much sophisticated, the name is "container" and its width is the same of the body width.
If fixed, the size is some as 760 or 900 px. Otherwise 100%.

Once discovered the correct div, we go back to the WPG2 config section of WP.
We click on the tab corresponding to "WPG2 Page Style & CSS Options", and we change the div name, in the field "Simple Style Elements Header", with the one we previously checked in style.css (style.css is located in wp-content/themes/theme_name/).

Everything's done.
Now the gallery area stretches to its full length over any other frames/columns layout.

Hope it may be useful....

Stefania Castelli

 
artnpics

Joined: 2005-10-18
Posts: 39
Posted: Thu, 2009-07-16 23:57

Could someone help me figure out what is breaking my layout with the WPG2 plugin? I am using Firebug/Web Developer add-ons, but I am not sure what to fix in the code. I did notice a table that is currently set at 92%, works better when edited to 60%. This is the table that surrounds a g2 picture at full size view. Is there code I can put in the WPG2 settings page that would remedy this issue?

Thanks in advance for any help/advice you can give. My site is Http://artnpics.com/home/wpg2