[paid and free users] Adding a header image to the top of the page

Sep 15, 2005 21:01

This tutorial fixes the problem where the header image alignment was a little off in IE and replaces this old paid user tutorial and this old free user tutorial. If for some reason you have trouble with its alignment, post a comment so we can examine it and try to fix it.

All users can add a header image using an external stylesheet. If you ( Read more... )

!tutorial, free accounts, header and footer, paid accounts

Leave a comment

Comments 292

crymearacecar September 20 2005, 15:45:13 UTC
i keep getting this message when i try adding the code to my theme layer:

Compile error: line 14, column 5: Unknown token encountered while parsing layer: [TokenStringLiteral] = <<;
var string postiion = "center";
var string margin_left = ()
S2::Layer, S2/Layer.pm, 67
S2::Compiler, S2/Compiler.pm, 27

any help?

Reply

anchan218 September 25 2005, 22:49:18 UTC
Are you making sure to use the "setting up a stylesheet in a theme layer" tutorial when you add in this code? There is a link to it just before the theme layer code.

Reply


indiansummersky September 23 2005, 00:04:39 UTC
My page is completely blank now - just text. Could someone check out my coding?

Reply

anchan218 September 25 2005, 22:45:13 UTC
I think you may have a problem with your external stylesheet or just stylesheet not loading temporarily. Could you possibly post your code?

Reply


(The comment has been removed)

anchan218 September 25 2005, 22:50:05 UTC
Could you possibly post your code somewhere?

Reply

anchan218 September 25 2005, 23:09:19 UTC
Sorry for the comment spamming, but did you make sure to do the creating a stylesheet in a theme layer? The header image code should go between the tags.

Reply


I need help... bleu_darien September 28 2005, 23:10:00 UTC
of course otherwise I wouldn't be posting, right. grrrrr. I have a paid account that I created my own theme layer for NO problem. So NOW, I'm trying to help a friend with their LJ and its not going smoothly at all. Her account is a free account so I followed the External Stylesheet tutorial and pasted the code over to notepad, then used the above code for the header. All I got was a white background with the text, like this crimsoncreme. So I went through all the free tutorials and found that someone suggested firefox and the web extension developer. So I did all of that and the LJ format shows up perfectly when I'm doing it on there but when I cut and paste the code from there and upload the stylesheet I get the same white background crap.

In my perusal of the tutorials and entries someone suggested Ripway so I went there and uploaded my stylesheets and for the FIRST time since starting this whole ordeal they finally showed up on the LJ exactly the way I wanted them to. I double checked it umpteen times to make sure that they were ( ... )

Reply

Re: I need help... afuna September 28 2005, 23:29:58 UTC
You need to remove this code from the top of your stylesheet:

GLOBAL HEAD<=

They're interfering with the css, and causing parts of your css code to not be applied at all.

The GLOBAL HEAD<= thing is only for S1. And since you're using an external stylesheet, you shouldn't put in the style tags and , either.

Hopefully that should solve your problem :) If it doesn't, comment back and I'll look at it again.

Reply

Re: I need help... afuna September 28 2005, 23:35:52 UTC
Also, one more thing. The first time I visited your css stylesheet, I was able to load it just fine. But when I tried again (to check on something), I got an error message, something about an inactive/suspended user.

Not sure what happened :)

Reply

Re: I need help... bleu_darien September 28 2005, 23:45:49 UTC
I don't know why its saying that now either, especially considering that I'm currently in the account. I think its just trying my patience and winning at the moment.

I made the changes you said and uploaded the new stylesheet but its still coming out the same. But with the new glitch of the inactive/suspended user comment I'm wondering if for some reason the website has gone wonky. I don't know where else I can upload the file to check it out though. I can paste it if you want to look at it further.

THANK YOU so much for your help btw. :)

Reply


zartlila October 7 2005, 01:54:37 UTC
Ok, this header thing has me completely frustrated. I followed the external stylesheet information and made one of those, and uploaded it to www.ripway.com. Then I followed the instructions here to make a header. And it worked! At least...it works on my computer, but according to my friends, they just see a blank white page with text. What happened? Why can't they see my layout? How can I fix it? Do you have any ideas? Sorry to bother you. :-\

Reply

murklinstest October 7 2005, 02:55:17 UTC
When I try to view your stylesheet (http://home.ripway.com/2005-10/459832/ljstylesheet1.css), I get the User Account Inactive message. Do you think that might be part of the problem?

Reply

zartlila October 7 2005, 03:03:34 UTC
That's odd...it works fine for me, and I can click that link without a problem. So yes, that could be part of the problem, but I'm not sure why! Any idea?

Reply

murklinstest October 7 2005, 03:37:15 UTC
Well, Ripway seems to be having some firewall issues. From their site (emphasis mine):

10/6/2005 10:07AM CST: New firewall being configured
We've received the new firewall and its being configured by our security expert - we expect this to be done this afternoon, and we'll overnight it to the colocation facility for installation tomorrow. We may have a few moments of complete down-time during the switch to the new device, but after that we expect to be back to 100%. Meanwhile, some links are still pointed at the old location, which means files uploaded since 9/30 may not be available for direct linking.

We again apologize for this - the firewall problems weren't anticipated, and the device that's in place now has specs that are well above what we need to handle the traffic. Clearly, the manufacturer badly (WatchGuard) overstated the capabilities of this firewall when we purchased it. The new firewall is a significant step up in power, and should be more than enough to get us back on our feet. If you look at your files section on ( ... )

Reply


Leave a comment

Up