Scarlett (troublenstrife) wrote in component_help,
Scarlett
troublenstrife
component_help

  • Mood:
Fixed thank you!!

Right, I wanted my journal to have the same kind of header/ background compilation as one of my friends cookiegirlie, who in turn gave me the code to use but when I put it in for some reason it hasn't worked. My friend took a look at it herself but couldn't figure out what was wrong, so she suggested i posted here. I was wondering if some one could take a peek and see if they could see anything wrong?




layerinfo "type" = "theme";

layerinfo "name" = "starwithheader";





function Page::print_custom_head()



{

"""

.header {



background-image: url(http://img.photobucket.com/albums/v175/troublenstrife/LJThemes/starsheaderbluepicsbradgold.jpg);

background-repeat: no-repeat;

background-attachment: scroll;

background-position: center top;

padding-top: 138px;

}



body

{

set background_position: "center";

set background_scrolling: "fixed";

set background_repeat: "repeat-y";

set page_background_image: "http://img.photobucket.com/albums/v175/troublenstrife/LJThemes/GoldSilverStarsCutOut.jpg";



}



.header-item {

        top: 0px;

     }



     .header {

        background-image: url("http://img.photobucket.com/albums/v175/troublenstrife/LJThemes/starsheaderbluepicsbradgold.jpg"); /* removed the gradient background */

        height: 20px; /* adjust the height of the component */

     }

    





</style>""";

}








Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 5 comments