ThemeShaper Forums » Thematic


Sidebar not showing up on child theme

(16 posts)
  • Started 9 years ago by shelleye
  • Latest reply from Jonny Janiero
  • This topic is not resolved


  1. shelleye


    I've created a new child theme for Thematic. My problem is that the primary aside sidebar isn't showing up. After finding this code from Chris, I determined that it must be a layout issue ( I displayed all of my widget areas and they're only located in the footer. The only widgetized areas that show up are subsidiary asides (1st, 2nd, and 3rd). The thing is, I can't figure out why the primary asides aren't displaying or how to fix it. Any help on this one? Much thanks in advance.

    Posted 9 years ago #
  2. i've found that sometimes you just have to re-save your widgets. ie... move one out of the aside and then put it back.

    if that isn't it 1. post a link, 2. do the widgets appear in source code or not? 3. do you have some kind of full-page layout? or is there empty space where the widget sidebar normally goes?

    Posted 9 years ago #
  3. shelleye

    Thanks for your response! I don't think it's an actual widget issue because if I switch themes then the widgets show up.

    I think it has to be with the layout, but I don't know how to fix it with the css. (I'm pretty bad.)

    The front page is a full page layout, I'm trying to get the sidebars to show up on the other pages. (Or on all of the pages and then I would remove it from the front page) On the link you can see that the only sidebar areas showing up are on the footer, and the widgets do work there when I put them in.

    But I'm trying to get a sidebar on the right hand side.

    Here's a link:

    Posted 9 years ago #
  4. 11thinking

    Is the "About" page using any templates? (Like full-width)

    Posted 9 years ago #
  5. your link answers my 2nd question... those sidebar widgets do NOT appear in the source code... which confirms that it is NOT a CSS issue. I already asked and 11thinking has asked now too.. are you using some sort of template on that page? though i just noticed it appears to be the same throughout your site which makes me think you've turned off the sidebar in the functions somewhere? or have perhaps applied the same template throughout. OR one more thought is you put a page.php in your child theme folder and it doesn't have the call to the sidebar?

    just throwing out stuff hoping 1 will stick

    Posted 9 years ago #
  6. shelleye

    Hmm... no I'm not using a template on it. Maybe the problem is that I need to use something?

    And I just checked my page.php file and I have <?php get_sidebar(); ?> in it.

    Any other possibilities? Thanks again!!

    Posted 9 years ago #
  7. but does it have

    // calling the standard sidebar

    unless you are doing something to your page template, you don't need to have one. it will default to thematic's version.

    Posted 9 years ago #
  8. shelleye

    I just changed the code from <?php get_sidebar();?> to <?php thematic_sidebar(); ?> and it didn't change.

    Posted 9 years ago #
  9. well i am sort of stumped- partly b/c it is 20x as hard for me to solve stuff w/o looking at it and partly b/c idk where get_sidebar() is ever called. in this type of situation i would normally go back to the dead-simplest child theme possible. aka- just style.css and a blank functions.php . no templates/page.phps or what-have-yous. you should have widgets now. from there you can slowly add functionality back until you isolate the culprit. it sucks and it's time-consuming but it usually reveals the evil-doer in the end.

    what version of thematic are you using? and you arent doing anything naughty like editing the thematic core files?

    Posted 9 years ago #
  10. shelleye

    Well thanks so much for the suggestions, I think that's what I'm going to do next.

    I'm using Thematic v, and not editing any of the core files.

    Posted 9 years ago #
  11. while i cant think of any reason that the old thematic wouldnt display sidebars, try upgrading thematic to the latest stable release

    also disable plugins. Widget Logic caused some problems for me w/

    while your link is gone, i seem to recall that your content was full-width. coupled w/ the lack of the widgets in the source code.... it looks like an intentional full-width style. did you create the child theme yourself?

    Posted 9 years ago #
  12. shelleye

    I'll try that, thanks! My content is full-width, although that really wasn't my intention. I'm trying to get it over to the left and then put in a sidebar on the right. Yes, I did create the child theme myself, although it's obviously not anywhere close to being done.

    Posted 9 years ago #
  13. are you using one of the thematic default layouts? ps- you should put your link back up in case someone else can help you.

    Posted 9 years ago #
  14. i had a good look at this last night, its a rather hectic stylesheet. the only reference to content is full width.

    i personally feel that your best solution would be to grab all content text and custom code snippets and...
    maybe start from scratch. you have maybe over-complicated things.

    use the latest thematic revision.

    keep import to layout style in your css.

    /* Apply a basic layout */
    @import url('../thematic/library/layouts/2c-r-fixed.css');

    all your pages will then have a sidebar on the right.

    use a custom template for your home page that grids all the images, etc. that looks nice full width. you can set that as the front page.

    there are several ways to achieve this using the templates and functions. you can also use dynamic classes

    body.home #container {width:940px;margin:0 10px;}
    body.home #content {width:940px;}
    body.home .main-aside {display:none;}

    if you want to change the content for sidebars on different pages, widget logic is pretty simple to achieve this (or functions.php using conditional tags).

    you could also use the new wordpress3 menu system, manually add the pages and a category entitled 'blog' to display your blog.

    i hope any of this helps.

    Posted 9 years ago #
  15. shelleye

    Thanks so much Jonny, I think this is what I'm going to end up doing. Hopefully it won't take as long as I'm anticipating!

    Posted 9 years ago #
  16. shelleye, it wont take long.

    download latest thematic revision.

    paste the css from this link into the style.css of your child style.css

    i've expaned the layout and default section so you can see what you are dealing with.

    in wordpress admin, add the pages you are going to use.
    for the page 'blog' (under page attributes) select the template called blog.
    create a page called 'home'
    (under page attributes) select the template called full width.

    in wordpress admin - settings - reading settings,
    under 'front page displays' select the checkbox 'A static page' and select...
    Front page- home
    Posts page- blog

    all this wont take long and you'll be on ya way.

    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.