Support » Theme: Nisarg » How build a page without sidebar ?

  • Hello
    The theme is awesome and thanks your work!
    Please help me how to build a page without sidebar? Is there an option to build a page without sidebar conveniently in next update?
    Thanks again!

    • This topic was modified 1 month, 1 week ago by jianxinshen.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Falguni

    (@falgunihdesai)

    Hi,

    From page.php file in theme, comment get_sidebar()( ex. //get_sidebar() ) function or delete the line. And you will get page without sidebar.

    Falguni

    Thanks for your reply.
    I want to remove sidebar in one page and other pages still have sidebar, so is it pretty complex?
    Thanks a lot.
    Jianxin

    bruceluxton

    (@bruceluxton)

    I would suggest you create a child theme of your own based on Nisarg. Then you can create a new php file, I called mine nosidebar-page.php. This will be a copy of page.php but with the get_sidebar()( ex. //get_sidebar() line deleted. Then in your dashboard you can choose which pages have no sidebar.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.