K2 header dosen`t show up!
-
i dont get the header i have made to show up on my homepage. can anyone please help me! i`v struggle for 3 days! :(
Superjanne.com
The blog I need help with is: (visible only to logged in users)
-
-
The problem is that you posted the whole CSS in the CSS editor. Don’t do that. Put there ONLY the definitions you’re adding or modifying. And since it seems you uploaded your custom header through the feature the blog offers, your CSS is overriding the one wordpress uses to display it.
This is what wordpress adds:
#header { background:#3371a3 url(http://superjanne.files.wordpress.com/2009/09/cropped-bilde-46.jpg) center repeat-y; }and this is what your CSS adds as a result of pasting the whole stylesheet:
#header { width:999px; position:relative; height:249px; background:#F660AB; margin:0; padding:0; }Since your CSS is appended at the end of all others, yours takes priority, thus overriding the one inserted by wp. This also can cause other images used by the theme to not appear since the relative paths are not the same anymore.
To fix this, delete all but YOUR selectors in the CSS editor and the header should be visible again. Make sure the “Add to existing…” radio button is chekced.
-
ok, i`m wreally a newbie and i wonder if maybe you could do that for me if i get you password an login?
i wreally think i need help !
-
-
-
ok, i`m wreally a newbie and i wonder if maybe you could do that for me if i get you password an login?
Sorry, no can do. You have to do it yourself. I already told you what to do, if you follow the instructions, you should be able to do it.
Do you keep track of your changes?
and wp dosent add nothing when i try to upload
It does, that’s why I told you what’s happening.
-
* html #page {
width:1000px;
}#header {
position:relative;
height:250px;
background:#F660AB;
margin:0;
padding:0;
}#primary {
width:650px;
float:left;
display:inline;this is how things look in my stylecheet now. i wreally try to fix this self but i dont se that line you wrote in last post. thats not there!
-
-
this is how things look in my stylecheet now.
No, it’s not, I can still see the whole stylesheet.
Have you saved your changes?
i wreally try to fix this self but i dont se that line you wrote in last post. thats not there!
read my post again. I said that wp adds that before YOUR stylesheet… I even the code YOUR stylesheet has and your DOESN’T have the background property.
ok, whats selectors?
I don’t want to sound mean, but if you have no CSS experience, you shouldn’t have bought the CSS upgrade. There’s no official support here.
Selectors are what tie your stylesheet to your markup. Google CSS Selectors to get more details.
Having said that. I think I managed to narrow down your changes, so try this:
delete ALL the CSS code in your editor and paste this:
body { background:#F660AB; } #page { width:1000px; } #header { height:250px; background:transparent url(http://superjanne.wordpress.com/files/2009/09/bilde-47.png) 0 0 no-repeat !important; }That should be the ONLY code in the CSS eidtor. Save it. That should fix your problem. If I missed something, you should need to tweak it further.
-
I even the code YOUR stylesheet has and your DOESN’T have the background property.
That should read:
I even posted the code YOUR stylesheet has and yours DOESN’T have the url() in the background property.
-
-
yes i did it! thank you so much! wery proud now :)
PS:
but the only things in the stysheets is only that i paste from you? how do i get to customize more now?
where did the rest of the css go? -
hard to write in inglish, but i try:
if you se the page now its been a “room” bethween the posts and the sidebarmeny. i would like to have main post in 650 width. How do i do that now, because i have no css in the editor longer.
-
Okay, since it seems English is hard for you to understand, I will try this again.
but the only things in the stysheets is only that i paste from you? how do i get to customize more now?
where did the rest of the css go?When you modify a theme, you do not need to paste the entire stylesheet. Just paste your changes. That’s all.
If you want to customize it more, just keep adding your changes, nothing more.
I really don’t know how else to explain this so that you can understand it. Maybe you could use Google Translate to translate this thread into Norwegian? That could help.
if you se the page now its been a “room” bethween the posts and the sidebarmeny. i would like to have main post in 650 width.
Add this to the code I gave you
#primary {width: 650px;}That should fix the width of your posts.
Good luck.
-
Hi, I’ve read all of this now and done what you’ve explained, devblog.
But I still get asked for wrong size header when uploading..This is how it looks under my “edit css” sheet now:
#header {
height:300px;
width:1000px;
}#primary {
width:715px;
float:center;
}#page {
text-align:center;
width:1000px;
}.comments {
text-align:center;
}What am I doing wrong now? :)
Really appreciate your reply in advance :) -
Once you have the paid CSS upgrade, you cannot use the custom header uploader.
Upload your header to your media library, get the URL and put it into the correct location in the CSS.
-
Ok, I’ve done that now.. And where is the correct place to put the url?
#header {
height:300px;
width:1000px;
background: http://karoline365.wordpress.com/files/2009/09/cats1.jpg;
}Is this correct? Cause it doesn’t work…..
Have also tried to write it this way, that devblog showed:
background:transparent url(http://karoline365.wordpress.com/files/2009/09/cats1.jpg) 0 0 no-repeat !important; -
-
- The topic ‘K2 header dosen`t show up!’ is closed to new replies.