Hi everyone!
I know it is possible (using a template) to display pages in full width, but i didnt find any way to do this for categories and posts. Is there any way to disable the widget spaces for those aswell?
Help would be much appreciated!
Armin
Hi everyone!
I know it is possible (using a template) to display pages in full width, but i didnt find any way to do this for categories and posts. Is there any way to disable the widget spaces for those aswell?
Help would be much appreciated!
Armin
Hey,
You need to adjust the bodyclass set at the very top of single.php which by default looks like this:
$k_option['custom']['bodyclass'] = ""; //<-- Display Sidebar
// $k_option['custom']['bodyclass'] = "fullwidth"; //<-- Dont display Sidebar
to this:
// $k_option['custom']['bodyclass'] = ""; //<-- Display Sidebar
$k_option['custom']['bodyclass'] = "fullwidth"; //<-- Dont display Sidebar
You can use conditional statements if you only want the full width for certain posts.
James
I did this in my site, works except the header of the post that displays the post title, categories etc is still the same size so it off sets the text... Here is an example http://www.tensixphotography.com/2010/01/gary-and-magda-the-wedding/
How do i fix that?
Did you remove following line from single.php?
<?php get_sidebar(); ?>Worked! Thank you very much!!!
Glad that we could help you.
You must log in to post.