Site logo

[Resolved] image logo next to burger for slideout primary navigation

Home Forums Support [Resolved] image logo next to burger for slideout primary navigation

Home Forums Support image logo next to burger for slideout primary navigation

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • #1515254
    sparkle

    hi, a while back i found some nice instructions to make a slideout navigation for my primary nav. i implemented it and it works great, and you guys helped me get the site title looking right, but now we’d like to use an image next to the hamburger — only on the main page (and enlarge the burger a bit). how would i do that? i tried this code from a support thread, but had no luck.

    add_action( 'generate_inside_slideout_navigation', function() {
        ?>
            <div class="off-canvas-logo">
                <a href="/"><img src="/wp-content/uploads/2020/10/CAsign.jpg" alt="" /></a>
            </div>
        <?php
    } );

    fair warning, the logo is larger than necessary at the momment.

    #1515257
    Leo
    Staff
    Customer Support

    Hi there,

    Just to confirm, you are looking to replace Charon Arts text with a logo image?

    Let me know 🙂

    #1515319
    sparkle

    yes. and only on the front page.

    #1515355
    Leo
    Staff
    Customer Support

    Can you add the logo under site identity first?

    #1515368
    sparkle
    #1515372
    Leo
    Staff
    Customer Support

    Are you using this option here?
    https://docs.generatepress.com/article/navigation-as-a-header/

    Or how are you removing the site header?

    #1515374
    sparkle

    no, i think it’s this….. https://imgur.com/2qG7q5E
    it worked so well i didn’t bother to book mark it.

    doing this was also part of the instructions…. and some css. https://imgur.com/d8aDzsJ

    #1515378
    Leo
    Staff
    Customer Support

    Those things should be unrelated to what I’m asking.

    Can you check if this option is activated in the customizer?
    https://docs.generatepress.com/article/navigation-as-a-header/

    If not, do you have any layout element created?

    The entire site header in your site is missing.

    #1516035
    sparkle

    oh, sorry… yes, i looked. that is checked.

    #1516484
    Leo
    Staff
    Customer Support

    I see the logo but it’s super small currently.

    Have you changed the navigation breakpoint?

    #1516634
    sparkle

    where do you see it? the image should be in place of the CHARON ARTS in this screenshot.
    https://imgur.com/qudbqHy

    i don’t believe i have changed the breakpoint.

    View post on imgur.com

    this is the css i’ve got that is associated with it.
    https://imgur.com/QtkkptQ

    THANK YOU!

    #1516705
    sparkle

    i haven’t done anything with GP Elements in this site to hide it…

    View post on imgur.com

    #1516708
    Leo
    Staff
    Customer Support

    Can you provide the dashboard login for me to take a quick look?

    #1516711
    sparkle

    done.

    #1516723
    Leo
    Staff
    Customer Support

    Can you try increasing the menu item height?

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