2 sidebars on post pages

Discussion in 'General Discussion' started by Darleene Powells, Dec 8, 2011.

  1. Zeaks Author

    Ok, check this out and let me know if it's what you were looking for. The extra sidebar is responsive just like the default. If you don't want to display the sidebar on the index, you can use .home #extra-sidebar {display:none;} to hide it from that page.

    3 Columns on post page - http://twentyten.info/?p=114
    Default right sidebar layout (both sidebars are active, displaying one under the other) - http://twentyten.info/
    Showcase template (looks normal) - http://twentyten.info/?page_id=8
    Default Page template - http://twentyten.info/?page_id=327
    Page with sidebar template - http://twentyten.info/?page_id=330

    If this is what you want, I'll zip it up for you. If you need something changed, let me know.
  2. Darleene Guest

    That's it! thanks!
  3. Zeaks Author

    Attached Files:

  4. Zeaks Author

    hmm, it's hard to tell what's wrong there. Did you use the theme I posted above, or did you copy the css and templates to your own theme? It doesn't look like the content in that page is the proper width, and both sidebars are aligned to the right. That isn't how it looks here http://twentyten.info/?page_id=2
  5. I had to copy and paste all your code into my child theme, since I'd already made some changes I wanted to keep.
  6. Zeaks Author

    Did you select the 3 column page template for that page? I'm not seeing the class for the three column page, all I see is...
    "page page-id-105 page-parent page-template-default singular two-column right-sidebar"
    It should have the page-template-page-3column-php class which is why your sidebars are not displaying properly.

    What I don't understand is, even if you didn't select the 3 column page template, it should either show a 1 column no sidebar, or a right sidebar only. >.< as you can see on my test site, I tested all 3 possible page templates. http://twentyten.info
  7. I forgot to select the 3-column template, so I did that, but even so, the sidebars are still dropping.
  8. Zeaks Author

    I am confused as to what page template you are using. You said you changed to 3 column template, but this is what I see for body classes on your site.
    Code:
    <body class="page page-id-271 page-child parent-pageid-105 page-template-default singular two-column right-sidebar"
    The page-template-default tells me that page is using the default page template and not the 3 column. If it were using the 3 column I would see .page-template-page-3column-php .

    This would explain why your sidebars are not displaying properly. The 3 column page template uses .page-template-page-3column-php and the style.css I included had the style for this. If there is no class, then the CSS will not work.

    Please check again and make sure all your pages are using the 3 column page template. If they are, also check you're not using any sort of plugin that might cache the site, preventing you from seeing your changes.

    If none of this works, I can take a look for you if you PM me login info.
  9. Zeaks Author

    After looking at your theme files, it looks like you renamed the page-3column.php to page.php, that would explain why the class I used was not appearing in the body class, and why this is the look of default pages. It should display properly once you rename it back to page-3column.php.
  10. You were correct! Once I replaced the regular page.php code and then added the 3 column page file, it all went to the way it should. Thanks again!!!
  11. JessW New Member

    Hi there -

    Great work! I'm having the same problem as the original poster. I unzipped and uploaded your files, but for some reason, selected the theme, etc. It was working fine for posts, but for some reason, the body class on pages isn't changing

    http://cheeretta.com/site/

    Would really appreciate any help. TIA!
  12. Jess Guest

    Nevermind - it's a css issue - not a theme issue. :eek: One of those days.

    Thanks again!

  13. maliniak New Member

    how i can select 3 column in Theme options if i dont see such ? ? ? ?
  14. maliniak New Member

  15. Jinxan New Member

    I still doesn't understand how I get the static frontpage to show my two sidebars. I see them on single posts and my category-pages, but not on the frontpage :(

    I guess I'm missing something but I can't figure out what.
  16. Zeaks Author

    Hi Jinxan, could you link your site please?
  17. Jinxan New Member

    http://wordpress.eternal-dreams.org
    Its in swedish but I guess you dont need to know what the site is about.

    It's my testplace, so I test everything before I use it on my real page. I really love your Nomnom Childtheme but I "need" the frontpage to show to sidebars to use it :)
  18. Nicole T New Member

    Hello....I realized noone has posted here in 2 weeks, but I have been up all night going over this thread and the wordpress one this was linked to. I am fairly new to this but am learning pretty quickly. I got the 3 column layout but my left side bars content is going below the page. I know this happened to a few people but I can't understand the directions. I am using a child theme. I only have a style.css folder in that theme. I am guessing I should create other "child folders" for that theme once I start changing things in functions and page etx..My goal is to keep my normal widgets in the right side and just have smaller narrower image and text widgets on the left. If anyone is still here that may be able to help I would appreciate it...I put a text widget in my left sidebar to check. My website is www.alittlelavish.com i am still playing around with style and it's not "public" yet

Share This Page