Sidebar disappeared

  • Unknown's avatar

    Hello!
    The sidebar magically disappeared and I have no clue what I did wrong. Please help?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
  • Unknown's avatar

    It happens a lot. Go to Settings->General and select “Wp should automatically correct invalidly nested HTML” which basically means if you leave a tag open or messed up, it’ll get corrected. That solves most problems.

    If that doesn’t solve it, check to make sure you haven’t uploaded a photo that is too wide for your space.

  • Unknown's avatar

    @raincoaster, it’s a CSS issue (they have the CSS upgrade) actually and I simply haven’t felt like slogging through it yet. I’ll look into it later tonight.

  • Unknown's avatar

    Ah, thanks. Good luck with your slogging: I’m very grateful I never bothered to learn CSS, as the few people here who know it are consistently overworked.

  • Unknown's avatar

    I sometimes wish I knew nothing about it.

  • Unknown's avatar

    @speilvendt,

    With #pages set to a width of 1000px you need to make the following changes:

    Set width in #content to 700px

    Set the left margin in #sidebar to 780px as below:

    margin:-60px 0 0 780px;

  • Unknown's avatar

    Thanks for your help. I think the whole #sidebar code dissapeared. Could you please give me the original codes?

  • Unknown's avatar

    @speilvendt,

    I’m sorry I had three CSS issues I was trying to solve simultaneously and make the changes to Contempt instead of K2. Delete everything you have in the CSS edit window, make sure “add to existing…” is checked and the paste in the following:

    body {
    background:#927458 none repeat scroll 0 0;
    }
    
    #page {
    width:1000px;
    }
    
    #header {
    background:transparent url('http://speilvendt.files.wordpress.com/2009/08/speilvendt-1000-386.jpg') repeat scroll 0 0;
    height:386px;
    }
    
    #primary {
    width:650px;
    }

    With CSS here, it is best to only paste into the CSS edit window exactly what you are changing. Your changes (with add to existing… selected) overrides or adds to the existing stylesheet. I also makes it much easier to keep track of exactly what you have changed and what you have not.

    #primary as you see I have set at 650px wide otherwise it messes with the sidebar. Did you actually want a narrower sidebar and a wider content area?

    You might want to take a look at my test blog where I have your stuff right now to see the spacing and such: http://flippintestblog.wordpress.com/ . I’ll wait till you reply back to this thread to remove it.

  • Unknown's avatar

    The test blog looks just the way I want it. I am so new to CSS that I don’t really understand a thing… I just know a tiny bit of html and how I want my blog to look like.
    So anywho, I did what you said – deleted everything and pasted the stuff above, but I can’t see any changes. What am I doing wrong?

    ..you can delete the test blog. Where can I actually see the whole html codes for my blog, if it’s not supposed to be in the edit window? I can only see a link to the original K2 stylesheet.

    Btw… I’m amazed by the help and support wordpress is offering, and I have to ask if this is your fulltime job? :-)

  • Unknown's avatar

    Re your btw: no, most of us are just fellow bloggers volunteering here; thesacredpath happens to be the most knowledgeable and the most helpful one.

  • Unknown's avatar

    I’m seeing the correct code in your custom stylesheet, and it matches what is in my test blog, and it works just fine in my test blog, so I can’t figure out why it does not work on yours.

    Try this. Delete everything from the CSS edit window and then click “save stylesheet” with the “add to existing” selected. Then view your blog and you should see the original design.

    Now go back to the CSS edit window, delete everything that is in the window and paste in the code I gave above and again click “save stylesheet.

    What I do with the existing stylesheet is to click on the link and then copy it all out and into a plain text file to use as reference.

  • Unknown's avatar

    It didn’t work. This is very odd… and kinda frustrating. Can’t you just log on to my blog and fix it?!? ;-P

  • Unknown's avatar

    Should I choose a different theme or what?

  • Unknown's avatar

    I’m not staff, so I can’t access your blog backend.

    What have you got in your sidebar? Appearance > widgets? If you have anything in their, take it all out.

  • Unknown's avatar

    Ehm…. yep. You solved the case. Good man! Thank you so much! :D

  • Unknown's avatar

    You’re very welcome.

  • The topic ‘Sidebar disappeared’ is closed to new replies.