
I've customized my Component layout with the Wizard, but, with the direction of
I want to add a header at the top of my layout. I found an entry concerning this in memories, but the override that I found there, when I try to use it, keeps telling me "Compile error: line 4, column 1: Only core and layout layers can define new functions."
I know I'm doing something very obvious wrong, but I've been at it for hours and am at a loss. Once again, I'm not very experienced with any kind of coding.
layerinfo "type" = "theme";
layerinfo "name" = "cooking_spray_layout_customizations";
function print_custom_head() {
"""
<style type="text/css">
body {
background-image: url(http://img144.imageshack.us/img144/4359/metaphorialayoutbannercopy5it.jpg) ;
background-repeat: no-repeat ;
background-attachment: scroll ;
background-position: top ;
margin-top: 300px ; # replace HHH with your image height in pixels
}
</style>
""";
}
Also, this little image has been giving me ubelievable trouble. . . It claims to be a valid JPEG image file, but every time I upload it onto Image Shack is rejected as "invalid". I have remade it in Photoshop from scratch, making sure my file type is correct and that my background layer is not locked, which was the initial problem, but it's still rejected. Photobucket seems to accept it, but when I plug the direct link in, only the adress appears as a divider, not the image.
Any help would be appreciated. Thanks for your attention.