Support » Fixing WordPress » I don’t want my sidebar in a new page…help!

  • Resolved oseary

    (@oseary)


    Nothing too major. But, I am not too “awesome” at coding. Here’s my question:

    I am creating a “new” page, to show my resume, but on my resume page, I do NOT want my sidebar to show, since it isn’t really relevant ot the resume.

    However, I’ve tried just deleting the “get_sidebar” out of my page template file, but it still pulls the sidebar on pages.

    I know I probably need to create a “new” page template, and name it something different, but how do I go about doing that? Where do I put it, and what do I call it? Does it require any special coding?

    Agghs!

    thanks in advance!!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • It looks like you are using a modified default template, right?

    Go into the theme editor. Pick “page template” off the list on the side.
    Scroll down and find <?php get_sidebar(); ?>. knock that bit out.

    That should do it. If that’s what you did (and it saved the changes), I dunno why it still shows. Clear cache maybe?

    EDIT: I tried it myself. At the top of the Page template, find where it says this:
    <div id=”content” class=”narrowcolumn”>

    Change it to say this:
    <div id=”content” class=”widecolumn”>

    It’s an issue with the Kubrick theme itself and how it works. Normally, any other theme I’ve worked with would handle it in the way you tried originally.

    Do you think that the “widecolumn” change would also help my issues with posting the resume? It seemed as the text from me typing it out, would “run into” or “overlap” the sidebar.

    Reason why I want to remove the sidebar, is to prevent the overlapping.

    Thanks for the help 🙂

    Dunno, have to try it. I think it would fix it though.

    You could always comment out the “old” line, so it is still there but not shown and just add the “new” line, rather than replace.

    Also, if you are pasting in text from elsewhere, be sure there aren’t wonky bits of invisible formating. ie: make sure it’s plain text you’re putting in. That’ll throw off a layout right-quickly.

    I’ve got everything entered correctly now, but now…my sidebar is still there, but “underneath” the actual “new text,” and not to the side.

    Any ideas?

    Eek!

    http://www.pesosforpenguins.com/resume/

    Looking at the source quickly, it *looks* like the footer.php is calling the sidebar as well. Double-check. 🙂

    baggh! lol

    Yay! it’s fixed!!!1 you’re the best!!!!

    😀 Now clean your room. 😉

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘I don’t want my sidebar in a new page…help!’ is closed to new replies.