Add Logo to Variant3 header style menu - by dirkslyder

1 reply2 participantsUpdated by 8theme

  • Avatar: dirkslyder
    dirkslyder
    Participant

    Hello,

    I’m trying to add a logo to the menu on the left like this. The part between <div class=”menu-inner”> and <div class=”menu-wrapper menu-align-center”> is the logo. I don’t want the logo in the top bar.

    <div class=”container”>
    <div class=”menu-inner”>
    <div class=”header-logo1″>
    Premier Retailer for Handguns, Rifles, Ammo, FFL Transfers, Shooting Accessories, and More

    </div>
    <div class=”menu-wrapper menu-align-center”>
    <style>.menu-item-4576 .nav-sublist-dropdown > .container > ul {height: 3px!important;}</style><style>.menu-item-4576 .nav-sublist-dropdown { background-image: url();}</style><div class=”menu-main-container”><ul id=”menu-main-menu-1″ class=”menu”><li id=”menu-item-4576″ class=”menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-parent-item menu-item-4576 item-level-0 item-design-dropdown columns-3″>Handguns

    I tried looking to add the code in php format somewhere in center3.php file but nothing happens. If this was html file I would have been able to achieve what I need. So what is the file that I need to access and which part of this file do I need to add the code that call for the logo?

    Thanks for the help!

    1 Answer

    Avatar: 8theme
    8theme
    Support staff

    Hello,

    Here is a code that displays logo <div class="header-logo"><?php etheme_logo(); ?></div> and you can set it in any place you want in the center3.php file.

    Regards

Want to reply? Log in to reply to this topic. No account yet? Create one first.

Log inCreate account