remove header from a web page.

Tagged: ,

  • remove header from a web page.
    Viewing 7 posts - 1 through 7 (of 7 total)

  • Gabriel
    Participant
    #11583

    Hi guys, I try to remove the header of a single page in espesifico and I could not, I tried with the following css code;


    .page-id-XX .site-header {
    display: none;
    }

    but nothing is displayed on the page …..

    how could you do to remove the header of a page in espesifico?

    Thank you!

    regards!


    Ahmed Yasser
    Moderator
    #11584

    Hi gabriel,

    Please try using this code

    .page-id-XX .overlayedHeader,
    .page-id-XX .defaultHeader {
    display: none;
    }
    

    Best Regards


    Gabriel
    Participant
    #11585

    thanks for the reply my friend Ahmed.

    I have placed as you indicate and it has not been possible to remove the header …..

    if possible another solution would be grateful, but I leave my credentials.


    Gabriel
    Participant
    #11586
    This reply has been marked as private.

    Ahmed Yasser
    Moderator
    #11587

    Hi Gabriel,

    I checked your page, can your try this code

    .page-id-6 .top_header_style4,
    .page-id-6 .headerStyle4,
    .page-id-6 .slidingText {
        display: none;
    }

    Thanks


    Gabriel
    Participant
    #11589

    perfect, it worked!

    Thank you

    now it occurs to me to do the following, if I remove the header unfortunately the user will not have navigation menu, as I do to modify the link of address of “contacto” in the navigation menu and the link lead to


    https://portal-inmobi.com/proyect-test/contact/#primary

    so that when they click on “contacto” take them directly to the banner, so we can still keep the header and the page would load from the banner with the id #primary

    I hope you can understand, do you understand? Thank you!


    Ahmed Yasser
    Moderator
    #11597

    Hi Gabriel,

    what you’re requesting is to display the header in the page, but the link in the menu should navigate to the first section in the contact page.

    I’ve added a custom Id to your first block in the contact page ( #primary ).
    Then i changed the contact page url in the menu to https://portal-inmobi.com/proyect-test/contacto#primary

    Now the link in the menu scrolls to the first section in the contact page.

    I hope this fits your request, let me know if you need anything else.
    Regards

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.