Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2026

    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

    #36360

    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

    #36361

    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?

    #36362

    Did you remove following line from single.php?

    <?php get_sidebar(); ?>

    #36363

    Worked! Thank you very much!!!

    #36364

    Glad that we could help you.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Posts in full width’ is closed to new replies.