PDA

View Full Version : Modify canned theme?


gneissphotos
Apr-23-2007, 05:28 PM
I'm using the 'smugmug gradient' theme on my home page, but would like there to be a border at the top of the page rather than have my banner extend all the way to the top. Can this be done?

Mike @ http://gneissphotos.smugmug.com/

Allen
Apr-23-2007, 05:46 PM
I'm using the 'smugmug gradient' theme on my home page, but would like there to be a border at the top of the page rather than have my banner extend all the way to the top. Can this be done?

Mike @ http://gneissphotos.smugmug.com/
To start, in your header change this

<div align="center">
<img src="http://gneissphotos.smugmug.com/photos/145598679-L.jpg" height="150" width="750">

to this (notice above you had no close div, </div>)

<div id="myBanner">
<img src="http://gneissphotos.smugmug.com/photos/145598679-L.jpg" height="150" width="750">
</div>

and add this to your CSS

#myBanner {
text-align:center;
margin-top:20px;
}

Holler back if you have any questions.

gneissphotos
Apr-23-2007, 06:29 PM
To start, in your header change this

<div align="center">
<img src="http://gneissphotos.smugmug.com/photos/145598679-L.jpg" height="150" width="750">

to this (notice above you had no close div, </div>)

<div id="myBanner">
<img src="http://gneissphotos.smugmug.com/photos/145598679-L.jpg" height="150" width="750">
</div>

and add this to your CSS

#myBanner {
text-align:center;
margin-top:20px;
}

Holler back if you have any questions.

Great tip, as usual. Thanks Allen