ThemeShaper Forums » Thematic


Full-width doesn't work with Blog

(8 posts)
  • Started 13 years ago by chinchila_0
  • Latest reply from eilza49
  • This topic is not resolved
  1. chinchila_0

    Hi everyone,

    I want to use the Full-Width template provided in the Thematic framework for the Blog page on a website. Other pages work fine, but the Blog page doesn't seem to respond when I change the template from Default to Full-Width. Does anyone have a solution?


    Posted 13 years ago #
  2. beanfair

    The full width template is designed for pages. It doesn't contain THE LOOP needed to display the blog posts.
    If you open up both templates in a text editor you can see the difference. You can style the blog template to be full width or you can plug the blog loop into the full width template.

    Posted 13 years ago #
  3. chinchila_0

    Ah, I see what you mean. Can anyone point me to a function that will remove the sidebar on a blog page? I would rather play with the functions.php file in my child theme than touch the Thematic template files.

    Posted 13 years ago #
  4. beanfair

    You are right, you don't want to make the changes to the thematic parent theme. Make a copy of the template-page-blog.php and place that copy in your child theme. Now the copy in your child theme will overwrite the parent copy. That is the safe way to make changes to your php files.

    Look for this code at the bottom of the template-page-blog.php that you copied into your child theme.

    // action hook for placing content below #container

    // calling the standard sidebar

    // calling footer.php


    Just comment out the side bar so the code looks like this

    // calling the standard sidebar
     //   thematic_sidebar();

    That will remove the side bar but you will probably need to make some other CSS changes to achieve the desired aesthetic.

    Posted 13 years ago #
  5. Hi,

    I am looking to accomplish the same (full-width blog), but when I follow beanfair's advice above, the sidebar remains put:

    The "primary aside" is called anyhow, and it just doesn't make sense to me.

    Any help greatly appreciated!


    Posted 12 years ago #
  6. are you sure that your page is using the correct template?

    also you don't need a template to remove the sidebar:

    just substitute in your own conditionals like is_home()

    Posted 12 years ago #
  7. Hi Helga,

    Thanks for your help! You are right, the page does not seem to be using the correct template. It is very strange. I've renamed the template "Blog Wide", which is the template I selected in the backend of the page under "Page Attributes", I've saved it and all. But when I pull up, it doesn't seem to be calling that template.

    This is really puzzling to me, would you happen to have any ideas about where I could look for the solution? (I am not using a caching plugin.)

    Thanks a million

    Posted 12 years ago #
  8. Now... It gets even stranger.

    Under "Reading Settings", I've selected a different page for blog posts, "Test". Now, the blog posts are displayed under "Test" (, and here the selection of "Blog Wide" as a template doesn't make a difference either.

    But with this selection on, if I go to, the "Blog Wide" template is called.

    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.