Forums

No sidebar template? (4 posts)

  1. chumstudent
    Member
    Posted 1 year ago #

    Hello -

    I am attempting to delete the sidebar on my webpage and then center the text and images I insert.

    I see a "no sidebar template" when I go into the CSS editor, but I'm not sure what to do with it as it only reads this:

    <?php /* Arclite/digitalnature
    
     Template Name: Page without sidebar
     */
     get_header();
    
     include(TEMPLATEPATH . '/page.php');
    
    //exactly the same as page.php
    ?>

    If I want to use that template, what do I do? I've tried inserting include(TEMPLATEPATH . '/page.php'); and include(TEMPLATEPATH . '/page-nosidebar.php'); into the page.php css, but I just get error messages.

    I'm using Arclite and my webpage is chumstudents.com.

    And yes I know jack about CSS, but I'm trying :/. It seems like this must be simple...

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    to use that, you assign it to a page within the page editor

    over on the right within the editor is a dropdown to pick page templates

    you select page without sidebar on a per page basis

  3. tom_taylor_85
    Member
    Posted 1 year ago #

    What's your site name?

  4. MAS
    Member
    Posted 1 year ago #

    in your page.php file just remove the get_sidebar() function

Topic Closed

This topic has been closed to new replies.

About this Topic