~°~ I shall call him Squishy ~°~ (ciryatan) wrote in component_help,
~°~ I shall call him Squishy ~°~

  • Mood:

Header not working (or user too stupid)

I feel like a complete moron for having this kind of problem, and I'm sure it has been asked before, but I'm at the end of my rope here and don't have the time or the nerve to search around LJ/the web anymore.

Whenever I follow the instructions some friends gave me & add this to the codes for my user layer...

function page::print_custom_head() {

body {
background-image:url(http://img.photobucket.com/albums/v217/schokoriegelpapier/qaf/0e1e7aca.jpg) !important;
background-repeat: no-repeat !important;
background-attachment: scroll !important;
background-position: center 0px !important;
margin-top: 300px !important;

.header {
Text-align: center;


...I come up with this:

S2 Compiler Output at Thu Aug 4 01:50:54 2005
Error compiling layer:

Compile error: line 30, column 1: Can't declare function page::print_custom_head() for non-existent class 'page'
S2::NodeFunction, S2/NodeFunction.pm, 159
S2::Checker, S2/Checker.pm, 339
S2::Compiler, S2/Compiler.pm, 34


26: set fifth_position = "links_order";
27: set fourth_position = "calendar_order";
28: set text_reply_back = "thoughts...";
29: set text_post_comment_friends = "fly tonight";
30: function page::print_custom_head() {
31: """
33: body {
34: background-image:url(http://img.photobucket.com/albums/v217/schokoriegelpapier/qaf/0e1e7aca.jpg) !important;

Anyone wanna help out a doofus?
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened