badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Eliminate sidebar and the “You may Missed”

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #76001
    venepress.web
    Participant

    Hello, I would like to ask you for help with
    how I could eliminate the sidebar and the You may Missed section at the end, only on specific pages.

    In other words, I have both sections active on my website, but I have a “contact us” page, or “terms and conditions” and I would like them to be pages that only had the text or form, avoiding the sidebar or the final section of “You may Missed”.

    Also i add a category where all the posts will appear, where it doesn’t make sense that at the end I suggest the last post in “You may Missed”.

    Thx

    #76089

    Hi @venepress-web,
    To remove the Sidebar on specific page then Please go to the Post/page Editor of specific page/post then at the bottom of editor you will find settings/options for Sidebar Layout where you have to check ‘ON’ to ‘No Sidebar’.

    And yes it is possible to hide footer featured post section on the specific page but main thing is you need to know the exact page-Id to hide it. Every pages have its own Page Id mentioned on body tag. As you have solved to hide category on before topic using ‘Category Id’ and we hope you can get the Page Id as well.

    So to remove the Footer Featured Posts section on specific page then go to ‘Appearance > Customize > Additional CSS’ paste the below Custom CSS code.

    body.page-id-351 .site-footer .featured-stories {
    	display: none;
    }

    Here code sample is given for Page ID no: 351, Please replace the Id no: with yours Id. Like ‘page-id-12’, ‘page-id-18’ etc
    If you have to hide on more than one page then the same code should be used again with the another Page Id no:
    Like

    body.page-id-351 .site-footer .featured-stories,
    body.page-id-355 .site-footer .featured-stories {
    	display: none;
    }

    Make sure you use comma (,) on every selector lines except for the last one. if you miss to use comma (,) on any single Selector Line then the whole code won’t work.

    Thanks

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