PDA

View Full Version : Adding color and backgrounds


neast
Apr-19-2009, 09:07 PM
Can anyone tell me the CSS code for changing the background color or image of the headers and tables on my smug mug page? I am trying to make a new theme! Thanks.

Thunder Rabbit
Apr-20-2009, 06:46 AM
Howdy.

The answers to both these questions are in the FAQ section.

Smug Mug FAQ (http://www.smugmug.com/help/customize-faq)

DGRIN FAQ (http://www.dgrin.com/showthread.php?t=52811)

If by tables, you mean boxes this CSS code changes their color:

.box {
background-color: #XXXXXX;}

or image:

.box {
background-image: url('YOUR IMAGE ADDRESS');}

Change body background:

Color:

Body {background-color: #XXXXXX;}

Image:

Body { background-image: url('YOUR IMAGE ADDRESS');
}

Header and footer.

Use the same code as above, but put it within the header or footer division code.

neast
Apr-20-2009, 09:04 AM
Thank you very much Lee! Your response is exactly what I was looking for.