Is there any way to get rid of the page title/header on the home page?

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?

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #733137
    Karang Nyimbor Hotel
    Participant

    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.

    #733877
    J. Davis
    Keymaster

    Hi 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.Davis

    #959710
    Fred Green
    Participant

    what about all the other pages?

    #959787
    Andre Flores
    Moderator

    Hello, 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,
    Andre

    #977386
    richard simpson
    Participant

    Where do I paste the code into to change this please

    #977731
    Andre Flores
    Moderator

    Hi, Richard!

    You should paste the code under Appearance ->Customize ->Additional CSS in your WordPress dashboard.

    Regards,
    Andre

    #978047
    richard simpson
    Participant

    Thanks a lot Andre, works a treat.

    #978663
    Andre Flores
    Moderator

    You are always welcome!

    Regards,
    Andre

    #1092101
    Lucía Somolinos Novella
    Participant

    Hi, 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!

    #1092322
    Andre Flores
    Moderator

    Hello Lucia,

    Kindly provide me with the URL to the page in questions, so I provide you with a valid code.

    Regards,
    Andre

    #1092889
    Lucía Somolinos Novella
    Participant

    Hi, 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.

    #1093314
    Andre Flores
    Moderator

    Hello 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,
    Andre

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.