Where is the body width?

lxsparks

Joined: 2012-01-03
Posts: 1
Posted: Tue, 2012-01-03 15:21

Hi,

I have just started using G3 which is software I have been looking for for a long time!

I am trying to create a theme based on Wind so I can integrate G3 into an existing site however I have been stuck at the first point - I can't find which CSS file is setting the width of the DOC4 container which is currently set at: 74.923em.

It is not set by class: g-view in the theme css file and I haven't yet found where class: yui-t5 resides.

Regards,

Matthew

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25957
Posted: Tue, 2012-01-03 17:42

Do a comparison of the wide_wind theme to the default wind theme and you will see the css changes as well as the DOC# changes to the page.html.php view.
I use http://winmerge.org/

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25957
Posted: Wed, 2012-01-04 02:32

In the page.html.php view you will see:
<div id="doc4" class="yui-t5 g-view">
change to
<div id="doc3" class="yui-t5 g-view">

then in the css find:
#g-content {
padding-left: 20px;
position: relative;
width: 696px;
}
change the width. I used 97%

For more details and some examples:
http://developer.yahoo.com/yui/grids/

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team