WordPress.org

Ready to get started?Download WordPress

Forums

Highwind
Removing side bar (2 posts)

  1. mdeepu1
    Member
    Posted 11 months ago #

    First of all thanks for this wonderful theme.I am having small issue,i tried to enable sidebar only in one page,so i wrote a code in sidebar.php to enable sidebar only in certain page.Code did worked out well,but there is a small styling issue now entire site is now left aligned.Since styling of the sidebar is still there in all pages.

    Is there any way to solve it ?.

  2. jameskoster
    Member
    Theme Author

    Posted 11 months ago #

    I suppose you will need to filter body_class and add a check to see if the sidebar should be displayed or not. Then style the width of the content section for those pages accordingly.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.