How do I set the Header for Home page only?
-
I am currently using the Wedding Theme. What do I do to make the Header appear on the Home page only? I do not want to see the Header on the other pages. Please help! Thank you.
The blog I need help with is: (visible only to logged in users)
-
Hi there!
Sure, you can do this if you edit CSS. Please go to Appearance > Customize > CSS in your Dashboard and add the following:
.page-id-22 hgroup, .page-id-29 hgroup, .page-id-41 hgroup, .page-id-49 hgroup, .page-id-53 hgroup, .page-id-56 hgroup { display: none; }Let me know if you have any questions with this!
-
Hi. Thank you for the code.
Unfortunately the Header still appears on the other pages aswell.
What else can I do?Regards,
Candice -
Hi Candice,
It looks like you didn’t add the code. Please save the code and you will be set.
-
The code you gave me is saved.
When I go to CSS it is there.
I have pasted and saved on numerous occasions, but the header still appears on all pages. -
That is a different site. The blog you referred to in this thread is this:
miletushopeinmotion.com
So, the code I provided you was for that site.
If you want to remove it on the site you mentioned above, add this:
.page-id-104 .sitebar, .page-id-1 .sitebar { display: none; }Then you should be set!
Cheers!
-
Hi there. Thank you for the code.
After saving the code, it only removed the Site Title and Tagline.
The Header remains on the pages.Regards,
http://www.candicenaidoo.com -
Ah, change the code to this:
.page-id-104 #masthead, .page-id-1 #masthead { display: none; }Cheers!
-
Thank you! It worked!
I just have one last question:
The Header is now removed from the pages, but so has the menu button.
How can I bring back the menu button onto the pages? -
That actually wouldn’t be possible because the menu is within that top header. So I recommend keeping that and just remove the custom header like this:
.page-id-104 .header-custom, .page-id-1 .header-custom { display: none; } -
-
- The topic ‘How do I set the Header for Home page only?’ is closed to new replies.