[SOLVED] Make size of headers smaller

sircuss
sircuss's picture

Joined: 2005-04-19
Posts: 46
Posted: Tue, 2005-04-19 01:23

Which specific code/area would I use to make some headers not be relative to screen but less, so that it integrates better with my sight. I am linking a screenshot of what I mean herehttp://www.kingofthebeach.com/images/g2test.jpg.
Thanks

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-04-19 03:37

look at layouts/matrix/templates/albumBody.tpl and singleBody.tpl
you can change the width="100%" in the table near the top of each file, using a local template.

 
sircuss
sircuss's picture

Joined: 2005-04-19
Posts: 46
Posted: Tue, 2005-04-19 21:38

Thanks for the reply. I added a local folder with copies of albumBody.tpl and singleBody.tpl in them (gallery\layouts\matrix\templates\local).

The table code in both is <table class="gbTitleBanner">. I changed both files to <table width="780" class="gbTitleBanner">

I also tried <table width="100%" class="gbTitleBanner">
Neither made a difference and everything to the right of the thick line in my jpg above is still there and autostretches. [url]http://www.kingofthebeach.com/images/g2test.jpg [/url]

Another thing I tried was adding a background image <table background="http://www.kingofthebeach.com/images/greensand.jpg" width="780" bgcolor="#EBFFE8" class="gbTitleBanner">. I was able to see the background image in the table header area and it did end at 780px. However everything else is still autostretching past the area I want it to (780px). Is there another place where I can control the size of those areas?
Thanks again

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-04-19 22:07

upgrade to beta-2 or a current nightly snapshot and try again..

 
sircuss
sircuss's picture

Joined: 2005-04-19
Posts: 46
Posted: Sat, 2005-04-23 23:44

Ok, I upgraded to latest nightly version a few days ago and the table size now works for Albums and for Picture thumbnail view but not for Single picture view and not for the top 2 border 1 px lines enclosing the top li.
Also, at the bottom of the pages below the footer, the background color is white. I would like to change that also, but it doesn't appear to be in theme.css.

Where would those be edited?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-04-24 00:28

it's probably easier if you undo your previous change and set a fixed with for the #gallery div in the css.
#gallery { width: 780px; }

 
sircuss
sircuss's picture

Joined: 2005-04-19
Posts: 46
Posted: Sun, 2005-04-24 20:54

Thank you, that took care of the width issue. Where would the code be to change the white background surrounding the gallery? View here

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-04-25 00:26

maybe you figured it out? i didn't see any white.
you can put background-color on body.gallery in the css.

 
sircuss
sircuss's picture

Joined: 2005-04-19
Posts: 46
Posted: Mon, 2005-04-25 20:53

That did it. I didn't realize the css file was different from a few weeks ago.

Thank you very much for your help! :D