Nenya Kanadka (nenya_kanadka) wrote in component_help,
Nenya Kanadka
nenya_kanadka
component_help

Header problem

I looked around to see if anyone else had asked this question & been answered, but I couldn't find it (although I'm sure this problem has happened to lots of people before).

I am trying to put in a header; I followed the instructions here in the s2howto journal, but I can't get my image to display. The background colour shows up fine and I got the journal entries to move down enough to fit the header in, but the picture itself won't show up.

Here's my theme layer:


layerinfo "type" = "theme";

layerinfo "name" = "DS9";



function Page::print_custom_head() {

"""

<style type="text/css">

body {

background-color: #6c71a1 !important;

background-image: url("http://pics.livejournal.com/nenya_kanadka/pic/00001cyz/") !important;

background-repeat: no-repeat !important;

background-attachment: fixed !important;

background-position: center top !important;

padding-top: 356px;

}

</style>

""";

}


Gah. I've been trying to figure out what's wrong all night, but no luck. I'm new to this, so it's likely I'm missing something simple. But I did read the beginner's tutorials here. What am I doing wrong?

Thank you for any help you can give. :)
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 10 comments