• Hi all,

    First ever question here! Might be obvious to any wp gurus out there!

    I want to add an image to the left of the menubar item. I assume this goes in the header, but when I use the below code, only the image is visible. Please help!

    <div id="hotmenu">
    <img src="https://trinitymonkey.we.bs/wp-content/uploads/2012/12/300-290x160.jpg" alt="testimage" height="50" width="160"; ?php do_action('wp_menubar','Hot'); ?>
    </div>

    Many thanks!

    https://www.ads-software.com/extend/plugins/menubar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter trihardertom

    (@trihardertom)

    Ok, so realised I can just add an image as a menu entry using HTML, but this ALWAYS puts the entry on the far right regardless of where it’s supposed to be in relation to other entries. Anyone come across this?

    Many thanks

    <div id="customnavigation">
    
    <div id="hotmenu">
    <?php do_action('wp_menubar','Hot'); ?>
    </div>
    
    <div id="tinitymonkey">
    <img src="https://trinitymonkey.we.bs/wp-content/uploads/2012/12/300-290x160.jpg" alt="testimage" height="50" width="160">
    </div>
    
    </div>

    I think something like that would work. Then use CSS to style the first div with float: right and the second with float:left

    Hope that helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add image to left side of menu’ is closed to new replies.