[Resolved] Can we Copy Header from Site Library

Home Forums Support [Resolved] Can we Copy Header from Site Library

Home Forums Support Can we Copy Header from Site Library

Viewing 15 posts - 1 through 15 (of 29 total)
  • Author
    Posts
  • #1536536
    Sourabh

    Hi,

    Can we copy header from any GP site library template, and can use it into our project ??

    or it will work with only template set ??

    #1536622
    Leo
    Staff
    Customer Support

    Hi there,

    You cannot import just the header but we can guide you to re-create it.

    Which header are you referring to?

    Let me know 🙂

    #1537267
    Sourabh

    Yes Leo,

    I wish to make two header one for home page only with primary menu, and another with seconday menu so whenever anyone click on any menu or leaving home page, secondary header should be visible…

    Check your site library, template name “charge & Split (Header)” I want some mix of both means logo shoud be in center in mobile version but in left side in desktop, search button in right and menu hamburger in left side in mobile version –

    I am writing device wise details which i want –

    Desktop – Logo + Menu + Search Button
    Mobile – Hamburg + Logo + Search (Same with tablet version)

    Now guide me, how to make these ..

    Note : Charge template having trnasparent header, when we scroll it becoming white sticky header so also share CSS code to make such header…

    Regds:

    #1537431
    David
    Staff
    Customer Support

    Hi there,

    if we can take this one step at a time.

    1. Secondary navigation on entire site but not home page.
    Add your Secondary Navigation to the Site and set its Location to Below Header.
    Then create a Layout Element: https://docs.generatepress.com/article/layout-element-overview/
    In the element Disable the Secondary Navigation and set the Display Rules to Front Page

    2. Set up the Mobile Header in Customizer > Layout > Header and add your mobile friendly logo,

    3. Enable the Navigation Search in Customizer > Layout > Primary Navigation.

    4. Set the Navigation as Header Option in Customizer > Layout > Header.

    Once thats done provide a link to your site so we can provide the CSS for centring the mobile logo.

    #1537449
    Sourabh

    Nah, you starting from secondary however Tell me first how to create first one for the home page, then we can move into secondary –

    Desktop – Logo + Menu + Search Button (This one)
    Mobile – Hamburg + Logo + Search (Same with tablet version)

    Then second header which you told above to do …correct me if i wrong

    #1537453
    David
    Staff
    Customer Support

    Just Skip step 1 for now. You can do that later.
    Follow the steps 2-4 i provided and provide a link

    #1546794
    Sourabh

    HI,

    Sorry for late reply, i went out of state for work, i have created secondary menu and did what you said above, but when open mobile view both primary and secondary menu visible as Hamburg ??

    refer my website – http://www.venusentertainments.com

    #1549084
    David
    Staff
    Customer Support

    Can you check that URL – as i cannot get it to load?

    #1549090
    Sourabh

    Its working fine, recheck – http://venusentertainments.com/

    #1549481
    Sourabh

    I am not happy reply time with support team, since November 18, i am dealing with simple query, Just reply once and wait for long time to get reverted ??

    #1549579
    David
    Staff
    Customer Support

    I am sorry but we try to answer every support topic within 12 hrs. Our average initial response time is under 5hrs. We had no response for several days. When the URL was provided it was incorrect – as the www. subdomain does not link to your site.
    Your request is not a simple query – you’re asking for a custom design that falls outside of general support but we endeavour to help all our users achieve their custom styles.

    Back to the topic:

    1. Add this CSS to re-arrange the Mobile Header.

    .main-navigation.has-branding .menu-toggle, 
    .main-navigation.has-sticky-branding.navigation-stick .menu-toggle {
        order: -5;
    }
    
    /* optional CSS if you want the logo centered in the nav */
    .mobile-header-navigation.has-menu-bar-items .mobile-header-logo {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translatex(-50%);
    }

    2. To create the Merged Header effect, you will need to create a Header Element.
    This article explains how:

    https://docs.generatepress.com/article/header-element-overview/

    #1549983
    Sourabh

    Thanks,

    Dont get me wrong david, But you understand how boring it is to wait for such a long time after a reply, anyways Sorry for anything wrong, And thanks a lot for your help –

    I also need CSS code for small shadow for header at the bottom, and when i scroll down then header should shrink a bit..

    #1550115
    David
    Staff
    Customer Support

    Do you want to make those other changes first, best we solve the original topic before adding more requests.

    #1551745
    Sourabh

    Hey David,

    I am Sorry for asking, I am bit novice technically –

    I think i am making some mistakes (I am pasting CSS into – content section of header element), Let me know if i am wrong, However when i do this, i start getting errors and all the css start visible in the home page itself, SO i think i am making some mistakes, pls make me correct ..

    #1551944
    David
    Staff
    Customer Support

    CSS should be added to the Customizer > Additional CSS.

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