Sarah (evening_star) wrote in component_help,

Getting error message I don't understand

Ok so I've followed all the tutorials I can. I'm trying to create a header picture at the top of my journal. I don't want it to change my lay-out or my colors, I just want a picture on top.

I went to the Advanced Customization page and created a layout-specific layer. I clicked edit on my new layer and in the box to "compile" I wrote the code I was told to in tutorials, with my specifications ofcourse. When I clicked the compile button this error message showed. I don't understand it.

S2 Compiler Output at Thu Oct 21 21:20:12 2004
Error compiling layer:
Compile error: line 4, column 1: Can't declare function page::print_custom_head() for non-existent class 'page'
  S2::NodeFunction, S2/, 159
  S2::Checker, S2/, 339
  S2::Compiler, S2/, 34
  1: layerinfo "type" = "theme";
  2: layerinfo "name" = "tara singing spell";
  4: function page::print_custom_head() {
  5:    """
  6:    <style type="text/css">
  7:      body {
  8:       background-image: url( ;

This was the code I placed in the box......

layerinfo "type" = "theme";
layerinfo "name" = "tara singing spell";

function page::print_custom_head() {
   <style type="text/css">
     body {
      background-image: url( ;
      background-repeat: no-repeat ;
      background-attachment: fixed ;
      background-position: top ;
      margin-top: 350px ;

What do I do? Thanks



  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened