Remove sidebar from certain pages

  • Author
  • #140549


    Hello :)

    I am wondering if it’s possible to hide all my widgets/sidebar on certain pages… Please let me know :)

    The blog I need help with is


    Theme Author


    To hide sidebar from some pages, you need to find page ID first (See this guide to know how to find page ID: PS you need to go to WP Admin (the last item in the Menu) to do that).

    Then go to Customize > CSS and add the following CSS:

    .page-id-7 .site-content .widget-area {
      display: none;
    .page-id-7 .site-content .content-area {
      width: 100%;

    Replace “7” with your page ID. And repeat the code for other pages.

The topic ‘Remove sidebar from certain pages’ is closed to new replies.