Site logo

Archived topic

image logo next to burger for slideout primary navigation

24 replies · Started by sparkle on November 2, 2020

Viewing posts 1–15 of 25

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.

Hi there,

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

Let me know :)

yes. and only on the front page.

Can you add the logo under site identity first?

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

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

Have you changed the navigation breakpoint?

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

done.

Can you try increasing the menu item height?

This archived topic is closed to new replies.