[Resolved] sticky navigation logo

Home Forums Support [Resolved] sticky navigation logo

Home Forums Support sticky navigation logo

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1135375
    Gonzalo

    Hi there!
    to scroll down with sticky navigation, I need the same image feature like original logo page.
    I use this custom css:

    .site-branding, .site-logo {
        position: absolute;
        z-index: 200;
        top: 5%;
    }

    Can you help me?
    Regards

    #1135383
    Jacob
    #1135410
    Gonzalo

    thank you kobi, but not work with this info πŸ™

    #1135415
    Jacob

    Gonzalo
    You are using GP Premium?

    #1135418
    Gonzalo

    absolutely yes πŸ˜‰

    #1135430
    Jacob
    #1135442
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    That’s a bit of a tricky one.

    What if you used the “Navigation as Header” option?: https://docs.generatepress.com/article/navigation-as-a-header/

    It will likely take some tweaking, but that along with the “None” sticky navigation effect should be the solution.

    #1137767
    Gonzalo

    thank you. But the issue it’s about float logo.
    I need this:
    https://prntscr.com/qq99zx
    to scrool:
    http://prntscr.com/qq9asn

    it’s just a css detail πŸ˜‰

    #1138266
    Tom
    Lead Developer
    Lead Developer

    You could try this:

    .navigation-branding {
        position: absolute;
        z-index: 200;
        top: 5%;
        width: 100px;
    }
    
    .navigation-branding img {
        height: 100px;
    }
    
    .navigation-stick #primary-menu {
        margin-left: auto;
    }

    However, you’ll likely end up with a better result if you use the method I mentioned above πŸ™‚

    #1138320
    Gonzalo

    thank you Tom, Navigation as Header in this site no work.
    I have another GP site, working fine with this logo scroll down issue:
    https://velvetconsultores.com/

    I use the same css, but nothing happens :/
    Regards

    #1138543
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I’m not seeing the CSS I provided on your site – where did you add it?

    Let me know πŸ™‚

    #1138961
    Gonzalo

    Tom, please check it again πŸ™‚
    I add a little change in you css:

    
    .navigation-branding {
        position: absolute;
        z-index: 200;
        top: 5%;
        width: 100px;
    }
    .navigation-branding img {
        height: 100px !important;
        padding: 2px 0 0 0;
    }
    .navigation-stick #primary-menu {
        margin-left: auto;
    }
    

    Working, thank you for your help!

    Regards

    #1139310
    Tom
    Lead Developer
    Lead Developer

    No problem! πŸ™‚

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