[Support request] Different site header on each page

Home Forums Support [Support request] Different site header on each page

Home Forums Support Different site header on each page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #227838
    Craig

    Hi,

    I’m trying to recreate a website using GP and Elementor – http://www.orabeauty.co.uk/

    What I’d like to do is place a slider (revolution slider) in the site header of the homepage above the menu and also a different image in the site header of each page as per the example site. Is it possible to do this?

    #227863
    Tom
    Lead Developer
    Lead Developer

    You could use GP Hooks to add your slider on the homepage. Add the shortcode in the Before Header Content hook:

    <?php if ( is_front_page() ) : ?>
        Shortcode here
    <?php endif; ?>

    Then hide the rest of your header stuff on the home page with CSS:

    .home .site-logo {
        display: none;
    }

    Then you can use the Page Header add-on to upload a custom logo on specific pages: https://generatepress.com/knowledgebase/generate-page-header/

    Hope this helps 🙂

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