Site5

Menu

Support Forums

Remove 'add widget' area

Home Forums Cody Remove 'add widget' area

This topic contains 2 replies, has 2 voices, and was last updated by  john.hickey39 2 years, 7 months ago.

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

    john.hickey39
    Participant

    Hi Can you tell me how to remove the ‘Here you can add widgets. Add Widget’ section and make the content full page.

    #16995

    bsahin
    Keymaster

    Hi, copy and rename page.php page-temp-fullwidth.php and remove the <?php get_sidebar(); ?> on line 48. then delete this from the line 1 between 10:

    <?php
    /**
     *  template for displaying Pages
     *
     * @package WordPress
     * @subpackage 
     * @since  1.0
     */
    
    get_header(); ?>

    and add this:

    
    <?php
    /*
    Template Name: Fullwidth Page
    */
    get_header(); ?>

    find the <section class="page-content primary unit two-thirds" role="main"> and change by <section class="page-content" role="main">

    here is the complete code:

    #17072

    john.hickey39
    Participant

    Hi I’ve followed the above comment but still not change, I’ve changed the page.php file to page-temp-fullwidth.php, added the new code and updated to the theme folder but nothing, any ideas what i can do?

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

You must be logged in to reply to this topic.