center allign header & hide side bar on specific pages

Hi movin

Please help , this is site url http://doubleglazingleeds.org/blog/

I want my header image to be center allign. And is this possible to hide side bar on specific pages. Well from colorlib fourms thse links i have made this theme useful for me :

https://colorlibsupport.com/t/remove-date-and-user-width-sidebar/

https://colorlibsupport.com/t/removal-of-meta-and-changing-some-stuff/

https://colorlibsupport.com/t/search-archive-meta-reply-box-removal/

https://colorlibsupport.com/t/full-width-header/

https://colorlibsupport.com/topic-tag/header-image/

But i can,t find my solution rectified. and i have used this custom css :

.posted-on,
.byline {
display: none !important;
}
.blog .entry-meta {
display: none;
}
@media (min-width: 992px) {
#secondary.col-md-4 {
width: 30%;
}
#primary.col-md-8 {
width: 100%;
}
#masthead {
display: none;
pading left: 10%;
}

Please guide. Thanks in advance :slight_smile:

Hi Shivam,

Thank you for your question.

I want my header image to be center allign.

It displays centrally on your site as shown in the attached screenshot.

Could you please tell me exactly how you want it to display?

And is this possible to hide side bar on specific pages.
You can achieve this by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Apperance -> Theme Options -> Other -> Custom CSS

body.page-id-288 div#primary {
  width: 100%;
}
body.page-id-288 div#secondary {
  display: none;
}

Change the page id 288 in the above code to the page ID where you want to hider the sidebar.

Alternatively you can add the following code on the specific page using this plugin Page Specific Stylesheets – WordPress plugin | WordPress.org to hide the sidebar on that page.

div#primary {
  width: 100%;
}
div#secondary {
  display: none;
}

Best Regards,
Movin

Hi Movin

Thanku so much for help it works :slight_smile:

Thanks i am happy.

Hi movin

I am sorry just a quick question for you :slight_smile:
Can u please tell me how to remove border bottoms of below titles. I want to remove them from gallery,s titles. Specially. Not from sidebars. And if from sidebars as well if possible please give me all solution.

Thanku so much in advance :smiley:

Hi Shivam,

You are most welcome here :slight_smile:

To help keep support thread separates could you please create new thread for your new question here https://colorlibsupport.com/c/unite-support/ instead of asking new question on the same thread as it makes the thread messy and hard to read.

We would be more than happy to help you on your new thread.

Cheers,
Movin

Hi movin

:smiley: yeah actually i have solved it from other threads. From your answers. :smiley:

Thanks and em very veryyyyyyyy happy from colorlib.

You are always welcome here :slight_smile: