Matrix theme customization

EotS

Joined: 2008-03-22
Posts: 25
Posted: Sun, 2010-06-13 02:34

How do I get the Matrix theme to keep a static width in the sidebar and albums area?

I'd like it to stay 900px wide, and to use
margin-left: auto;
margin-right: auto;

so it stays centered in the page and only the background image changes to the browser size.

I've managed to get the header image and the gsNavbar to do it, but this piece has me perplexed.

I'm not sure I can describe the problem well enough, check out my site

Thanks!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2010-06-13 04:49

Add

#gallery {
width: 900px;
margin-left: auto;
margin-right: auto;
}

to theme.css

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
EotS

Joined: 2008-03-22
Posts: 25
Posted: Sun, 2010-06-13 04:59

Dave - I did try that one, and it got me almost there, except for the background image that I'd like to size along with the browser gets chopped down to 900px with white bars on the side. Maybe there's something I can do to break out the background layer from there?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2010-06-13 05:16

Add your background to the body class like you did for the other pages:

body {
-moz-background-clip:border;
-moz-background-origin:padding;
-moz-background-size:auto auto;
background-attachment:fixed;
background-color:#EEEEEE;
background-image:url("img/bodybg.gif");
background-position:0 0;
background-repeat:repeat;
color:#333333;
font-family:Verdana,Tahoma,Arial,Serif;
font-size:0.76em;
line-height:1.5em;
margin-bottom:0;
margin-left:0;
margin-right:0;
margin-top:0;
padding-bottom:0;
padding-left:0;
padding-right:0;
padding-top:0;
voice-family:inherit;
}

Get firefox and firebug to help with CSS stuff.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
EotS

Joined: 2008-03-22
Posts: 25
Posted: Sun, 2010-06-13 05:32

Thanks! I do use FF and Firebug, a noob like myself couldn't get anything done without it.

I'm able to look at things and change them, but if there isn't something there to change, my skills are lacking.

 
EotS

Joined: 2008-03-22
Posts: 25
Posted: Wed, 2010-06-16 00:09

Can anyone give me a quick pointer on how I should go about making my gallery page:

www.michiganmartins.net/gallery2

look just like my home page

www.michiganmartins.net

The last thing I really need to do is to get everything under the header image with one 3px double border around it like the home page.

I guess I need to write a container?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-06-16 06:19

Have you used this yet?
http://www.flashyourweb.com/staticpages/index.php?page=gallery2_embed-o-rator

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
EotS

Joined: 2008-03-22
Posts: 25
Posted: Thu, 2010-06-17 13:37

wouldn't that be more designed to embed it directly in my wordpress page? I tried WPG2 a few years ago, but wasn't satisfied with it.

suprsidr is a hero in the g2 community, though, so I'll see what I can do with it...

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-06-17 15:49

That "embed o rator" is designed to make Gallery look like the rest of your site easily. There's no actual embedding with any application happening.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here