writinginct: (gen nerdy)
CJ aka WritinginCT ([personal profile] writinginct) wrote in [community profile] getting_started2009-04-29 06:31 pm

Okay, I've googled and scoured but can't find...

how to add a header image to Transmorgified.  Am I missing something simple or does anyone have a link?

Thanks!
facetofcathy: four equal blocks of purple and orange shades with a rusty orange block centred on top (Default)

[personal profile] facetofcathy 2009-04-29 10:42 pm (UTC)(link)
This is the instructions from the LJ community for the style:

http://community.livejournal.com/transmogrified1/1355.html

I have not tried this, just be warned.
healingmirth: typewriter keys (typewriter)

[personal profile] healingmirth 2009-04-29 11:20 pm (UTC)(link)
In case you need instructions from the very beginning - here on dreamwidth you would go to http://www.dreamwidth.org/customize/options.bml and select "Custom CSS" under customize your theme to get to the text-box where you add in the code.

When I added a header image, I just did this (which is basically the second option in the link [personal profile] facetofcathy provided.

#header
{
background-image: url(http://www.example.com/image.jpg);
background-repeat: no-repeat;
background-position: bottom right;
height: 150px;
}


the background-position (I used right, because I had an image that "cut off" at the right side, and I wanted it pinned to the right of the display) accepts center, right, left, top, bottom, etc.

height is the height of your image, assuming you want it to fill the header from top to bottom. If you wanted the image centered in a sea of whatever your header color is, make the height larger than your image height.

I've probably left something out...

(ETA - I win at referring to code I didn't include in the snippet. sorry!)
Edited 2009-04-29 23:23 (UTC)
boji: (Default)

Can I pick your brain?

[personal profile] boji 2009-04-30 05:12 pm (UTC)(link)
Following the tute, I plonked this code into the customize CSS code:

#container {
padding-top: 480px;
background-image: url http://img.photobucket.com/albums/username/blacknwhite.jpg;
background-scroll: no-scroll;
background-repeat: no-repeat;
background-position: top center;
}

(yes photobucket url is disguised) but although the blog itself has moved down to make room for a top-centered background image, the image itself doesn't seem to load. I've tried it with and without brackets and speech marks.

Any ideas what might be causing that?
Edited 2009-04-30 17:19 (UTC)
healingmirth: (Default)

Re: Can I pick your brain?

[personal profile] healingmirth 2009-04-30 05:36 pm (UTC)(link)
you need the parentheses around the url, so that it literally says

background-image: url(http://whatever)

Does that fix it?
boji: (Default)

Re: Can I pick your brain?

[personal profile] boji 2009-04-30 06:27 pm (UTC)(link)
Yes. Thank you!

Coding really is beyond me. *grin*
htbthomas: (Big Bang Theory - Penny)

[personal profile] htbthomas 2009-05-04 04:10 pm (UTC)(link)
Thanks for this code! I've been going crazy. Am linking on my DW page.
isis: (squid etching)

and I just figured out...

[personal profile] isis 2009-04-30 12:02 am (UTC)(link)
to add a background image, instead of "#header" in the example [personal profile] healingmirth gives, use "#container". Woo!