badget

Biggest Sale! Special Offer!

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

Hurry up! *Limited time offer*

How to hide sidebar position on certain pages

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #50058
    Alexander
    Participant

    Hello,
    I am planning to put widget sidebar and footer columns ONLY on main page, but not on other pages that are linked with Primary menu headers. For ex., I want to have Categories section and text block (“About author”) only for main page. How to do this?
    Thank you in advance.

    #50070

    Hi Alexander,

    Can you provide the site Url so that we can provide you the exact custom css. Also let us know on which page do you only want to display.

    Thank you!

    #50075
    Alexander
    Participant

    Hello! My site is http://habsburgs.ru. I still have been working on its building, so do not judge strictly. I have widgets areas om main page and its ok, but I dont need it on other pages, f.ex. here http://habsburgs.ru/category/books/.

    Thank you!

    #50116

    Hi Alexander,

    To hide the sidebar in all pages except home page go to Appearance > Customize/Theme Options > Design Options Tab > Custom CSS paste the following CSS code and Click on save button:

    .home #secondary {
        display: block;
    }
    #secondary {
        display: none;
    }

    Thank you!

    #50123
    Alexander
    Participant

    Great, it works!

    Thank you a lot!

    #50184

    You welcome Alexander

    Thank you!

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