Hide Sidebar in Blog Page and Categories

Hi, Im using Activello and would like to remove or hide the sidebar from the blog page and the categories. I dont see the option to do this under page attributes. How can i do this?

Regards,
Jannah

Hi Jannah,

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

Could you please share me the page URL from your site where it is displaying so that i can help you to remove it?

Best Regards,
Movin

Hi Movin,

Here is the website. http://heres2goingplaces.com
I wanna remove the side bar from these pages:
http://heres2goingplaces.com/blog/
http://heres2goingplaces.com/category/travel/
http://heres2goingplaces.com/category/work/
http://heres2goingplaces.com/category/life/
http://heres2goingplaces.com/contact-us/

Thanks! :slight_smile:

You can remove it from those pages by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Additional CSS

.page-id-6 #secondary,
.category #secondary,
.blog #secondary {
    display: none;
}

.page-id-6 .main-content-inner.col-sm-12.col-md-8 article,
.page-id-6 .main-content-inner.col-sm-12.col-md-8,
.category .main-content-inner.col-sm-12.col-md-8 article,
.category .main-content-inner.col-sm-12.col-md-8,
.blog .main-content-inner.col-sm-12.col-md-8 article,
.blog .main-content-inner.col-sm-12.col-md-8 {
    width: 100%;
}

You are heaven sent! Thank you again! This works well! :slight_smile:

You are always welcome here :slight_smile:

Hi Movin,

Additionally, how can I make these pages show the posts in Grid layout? I have tried installing Post Grid plugin but it doesnt work.

Regards,
Jannah

To achieve this you have to develop custom code as developed in the following topic.

https://colorlibsupport.com/t/category-grid-2-columns/#post-66701