a default working css gave an edit and bg not working
-
I am new at wordpress so am don’t really know this yet.. I am thinking of having a CSS Upgrade but I really don’t know if this is just because it’s a preview or what..
my blog is http://cavillegas.wordpress.com (admins/mods, if this is illegal please just remove the link.. thanks)
I am using the default theme “Sunburn” in WordPress.com but I want to edit it because of the comment box too large and goes outside the invisible border and I want to change the code tag because the default code tag doesn’t suit my taste..
now to my query..
the code “background: url(“./images/header_2.png”);” doesn’t work.. I really don’t know if that is because I’m on preview or what but I want to ask if this will work if I upgrade. The upgrade doesn’t have a refund so I really don’t want to waste the money.. If this won’t work then I think i’ll stay with the original code even with errors/bug on the stylesheet..
-
I’m not quite sure what you mean by ‘doesn’t work’. As far as I can see on your blog, that header image is working fine. Do you mean that when you try to substitute a different url, you can’t see the picture? And I’m not sure why you’d be working with that part of the code to change either the comment box or the code tag. Could you explain what you’re trying to achieve and copy the code that you’ve put into the preview editor to do that?
Also, putting the url for your blog is the most helpful thing you can do in a query and certainly not illegal!
-
cavillegas, you didn’t write which css selector you are trying to modify. Just writing “background” is not enough, and ./images/header_2.png is for sure the wrong url.
-
@isadora
sorry but that is the default in the SunBurn theme. I didn’t change that. really. I am on preview mode and I can’t see the header.. maybe if you paste the code in the edit CSS the links should be updated too??@rosclarke
===”the code “background: url(“./images/header_2.png”);” doesn’t work.. I really don’t know if that is because I’m on preview or what but I want to ask if this will work if I upgrade.”===the thing ‘doesn’t work’ is when I preview my page with the original code with only the modification made in comment box and code tag
I can’t really save and use the code yet. I’m not yet upgraded
-
you cannot just write “background: url”, you have to use it in a selector, in the case of Sunburn it should look like:
#bg_maker { background: url("http://cavillegas.wordpress.com/files/2008/03/header_2.png") no-repeat; } -
well, all of the codes I have tried doesn’t work.. maybe i’ll just stick to the original code.. thanks anyway…
-
Well, maybe you should just explain what you want to do in plain easy short clear sentences: I still didn’t understand whether you want to change the header image, the background image or the comment area size…
- The topic ‘a default working css gave an edit and bg not working’ is closed to new replies.