How to hide all page titles and remove header background?

Hi Team,

I would online like to keep the homepage exactly as it is (with the background)

But I would like to remove all page titles from other pages and make the header background transparent for all other pages.

e.g.

For this ‘About Us’ Page, I’d like to hide the page title, and make the header background transparent.

Hi,
Can you please add details on what theme it is?

Hi Andrii,

We are using the experthive theme :raised_hands:

Thanks

Hi,
You can change the header background transparent in Appearance > Customize.
To hide the title, please try this CSS snippet:

.page-id-number .entry-title{
    display: none !important;
}
1 Like

Hi, thanks for the css snippet, this works well.

In terms of the header background, I want to keep the homepage header background but remove all the other pages header background.

How would I keep the header background for the homepage only?

Thanks :raised_hands:

Hi,
Please try this CSS snippet:

.content-block {
		background-color: transparent;
}

Hi,

I don’t think you understand me, apologies for being unclear, but I need the following:

I want the background colour here (homepage) to stay the same, only the homepage:

But I need to make the header colour transparent for all other pages:
For example,



For all the other pages, I need to remove the background header.

Please guide, thanks :raised_hands:

Hi,
Please try this CSS snippet:

body:not(.home) {
		background-color: transparent;
}

Hi, this snippet did not work unfortunately

Hi,
Please try this CSS snippet:

body:not(.home) .site-header {
	background-color: transparent;
}
1 Like

This worked perfectly, thanks so much Andrii :raised_hands:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.