Only show sidebar on homepage?

Hello!

How do I only show the sidebar on the homepage and not on any other pages?

My website is www.woodenwindowsills.co.uk

Thanks so much,

Alice

Hi Alice,

I hope you are well today and thank you for your question.

You can try achieving this by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Activello Options -> Other -> Custom CSS

div#secondary {
    display: none;
}
body.home div#secondary {
    display: block;
}
.main-content-inner.col-sm-12 {
    width: 100%;
}

@media (min-width: 992px){
body.home .main-content-inner.col-sm-12.col-md-8 {
    width: 66.66666667%;
}
}

Best Regards,
Movin

Fantastic, this worked! Thank you!

You are most welcome here :slight_smile: