[SOLVED] Make size of headers smaller
sircuss
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. |
|
Posts: 8601
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.
Posts: 46
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
Posts: 8601
upgrade to beta-2 or a current nightly snapshot and try again..
Posts: 46
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?
Posts: 8601
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; }
Posts: 46
Thank you, that took care of the width issue. Where would the code be to change the white background surrounding the gallery? View here
Posts: 8601
maybe you figured it out? i didn't see any white.
you can put background-color on body.gallery in the css.
Posts: 46
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