Remove sidebar from full width page (2 posts)

  1. opiumtwin.com
    Posted 2 years ago #

    Hi! How do I remove the primary sidebar from the full width page template only? Thanks.

  2. Michael
    Part-Time Forum Moderator
    Posted 2 years ago #

    remove this from the code of the page template:
    <?php get_sidebar('secondary'); ?>

    the theme does not seem to have a 'full width' page template by default;
    assuming this is custom made, please post a live link to a page using that template for more suggestions...

    you will probably need to edit the style.css to stretch the content to full width; to make this specific, you can use the body_class output css class referencing your page template file name; http://codex.wordpress.org/Function_Reference/body_class#Page

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic