Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3896

    I would like to change all of my pages to a full width page layout. I also would like to add a header and footer background image. I am using template Style 2.CSS. I was trying to follow the threads but so far with all the changes I have made I have not had any luck changing these three things. Thanks for any help you can offer.

    #44071

    Hey,

    There are a couple of quick edits to make to enable the full width functionality, in your page.php template file (which affects pages but not posts archives or other content); change this (line 48):

    $k_option['custom']['bodyclass'] = ""; // $k_option['custom']['bodyclass'] = "class='fullwidth'";

    to this:

    $k_option['custom']['bodyclass'] = "class='fullwidth'";

    This will make the template full width and disable sidebar content. For good measure, you can also remove the sidebar call in this file:

    <?php get_sidebar(); ?>

    You can use the template_fullwidth.php file to see what edits need to be made to adjust images etc.

    If you want to change other content types’ display; change the relevant template file.

    James

    #44072

    Thank you James, that worked perfectly;)

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

The topic ‘Change pages to full width layout and change header and footer backgrounds’ is closed to new replies.