WordPress.org

Ready to get started?Download WordPress

Forums

Ari
Remove sidebar from full width page (2 posts)

  1. opiumtwin.com
    Member
    Posted 1 year ago #

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

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year 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