Free and Premium WordPress Plugins & Themes Forums WordPress Themes Alpenhouse Is there any way to get rid of the page title/header on the home page?
- This topic has 13 replies, 6 voices, and was last updated 2 years, 2 months ago by J. Davis.
- AuthorPosts
- October 23, 2018 at 5:20 pm #733137Karang Nyimbor HotelParticipant
Hello, I’ve tried various ways including css and plugins to get rid of the header on my home page. But so far its not working, I’m using elementor video on my homepage instead of the header video option, so its really ugly to have the default header there. Hope you can help me. Thanks.
October 25, 2018 at 4:39 pm #733877J. DavisKeymasterHi Karang,
Thanks for your question. You can use the style below to hide the header on the Front page width Default Type header selected:
.home .site-header-wrapper{ display:none; }
best regards,
J.DavisMay 27, 2020 at 8:42 pm #959710Fred GreenParticipantwhat about all the other pages?
May 28, 2020 at 7:42 am #959787Andre FloresModeratorHello, Fred!
You may hide all the pages titles if needed by using the following code:
.site .site-wrapper .site-header .site-header-wrapper { display: none; }
If you would like to get rid of the header on specific pages, you may use the previous code, provided by J.Davis, replacing
.home
with the desired page ID. You may get the page ID using your browser “Inspect Element (F12)” feature, e.g.: https://prnt.sc/sp8dyg..page-id-180 .site-header-wrapper { display: none; }
Regards,
AndreJuly 9, 2020 at 11:03 am #977386richard simpsonParticipantWhere do I paste the code into to change this please
July 10, 2020 at 7:37 am #977731Andre FloresModeratorHi, Richard!
You should paste the code under Appearance ->Customize ->Additional CSS in your WordPress dashboard.
Regards,
AndreJuly 10, 2020 at 1:40 pm #978047richard simpsonParticipantThanks a lot Andre, works a treat.
July 13, 2020 at 7:34 am #978663Andre FloresModeratorYou are always welcome!
Regards,
AndreMarch 18, 2021 at 9:27 am #1092101Lucía Somolinos NovellaParticipantHi, I have a similar problem. I’m trying to hide tittle and date of every single accommodation page. I’ve tried to do it with the following code:
.site .site-wrapper .site-header .site-header-wrapper { display: none; }
However, it still appearing. I’ve tried to do it too with the page-id one, but I noticed after trying with the words “page-id” that the single accommodation pages don’t have page-id but post-id, so I changed the code and it doesn’t work neither.
Publishing date, of course, still appearing. How can I remove all of this?
Thank you!March 19, 2021 at 12:25 am #1092322Andre FloresModeratorHello Lucia,
Kindly provide me with the URL to the page in questions, so I provide you with a valid code.
Regards,
AndreMarch 20, 2021 at 8:42 am #1092889Lucía Somolinos NovellaParticipantHi, Andre, and thanks for your kindness.
The web I’m building is under maintenance, so it is not visible yet. I don’t know how can I give you an URL or some details that help you.March 22, 2021 at 3:21 am #1093314Andre FloresModeratorHello Lucia,
Try adding the following code:
.single-mphb_room_type .page-title { display: none; }
It should remove page title from all the single accommodation type pages.
Regards,
AndreOctober 3, 2022 at 3:05 am #1361010Sven GrossenbacherParticipantHi,
display: none is not an otpion for SEO.
How can I get rid of:
<header class=”entry-header hidden”>
<h1 class=”entry-title”>Startseite</h1> </header><!– .entry-header –>it is not displayed but search engines will still read the h1 title – which is not intended.
Please advise on how to get the H1 out of the source code.
Thanks
October 11, 2022 at 4:57 am #1364011J. DavisKeymasterHi Sven,
Thanks for your question. You may remove that tag by overriding the files using the Child Theme. You will need to override the files from the following folder \alpenhouse\template-parts\
best regards,
John Davis - AuthorPosts
- You must be logged in to reply to this topic.