Tagged: , , , ,

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

    Hi, I want to change the 404 page to full width instead of showing the sidebar and pages. What do I need to edit to change the layout for that page?

    Thanks much,

    Chris

    #129122

    Hi Chris,

    You’ll need to change the 404.php template to be:

    <?php
    global $avia_config;

    /*
    * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    */
    get_header();

    echo avia_title(array('title' => __('Error 404 - page not found', 'avia_framework')));
    ?>

    <div class='container_wrap main_color fullsize'>

    <div class='container'>

    <div class='template-page content twelve alpha units'>

    <div class="entry entry-content clearfix" id='search-fail'>
    <?php get_template_part('includes/error404'); ?>
    </div>

    <!--end content-->
    </div>

    </div><!--end container-->

    <?php get_footer(); ?>

    Regards,

    Devin

    #129123

    Perfecto! Thanks much Devin -Chris

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Error 404 Page- Change to full width’ is closed to new replies.