Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #292097

    Hey,
    i’d like to put an image at the right of the navigation before “search”.
    How can i do that ?

    Best, AB

    #292151

    Hi anma!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab and change the image link to yours

    .main_menu {
    background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/a/ac/No_image_available.svg/100px-No_image_available.svg.png);
    background-repeat: no-repeat;
    }

    If this is not who would like it to look, please post a screenshot

    Best regards,
    Yigit

    #292382

    Hi Yigit,

    So i tried your code it works but i’d like to make it clickable and put it on the other side.
    Here is a screen : http://i.imgur.com/OTK2GcT.png?1

    Thanks, AB

    #292443

    Hi!

    Please add following code to Functions.php file in Appearance > Editor

    `
    
    add_action('ava_after_main_menu','logo_text');
    function logo_text() {
    echo "<div class='menu-text'><a href='http://kriesi.at'><img src='linktoyourimage.jp' /></a></div>";
    }
    
    `

    And you can change its styling using .menu-text selector in Quick CSS field

    Regards,
    Yigit

    #293883

    Hi !
    So i try your method, i add some code to put the image to the right.
    There is still a little problem that i would love to fix.

    The image is to the right like i want it but i would like to align it with the navigation, i did a screen for you :

    Thanks,
    AB

    #293887

    Hi!

    Can you please post the link to your website?

    Cheers!
    Yigit

    #293905

    Hi,

    Here it is : http://simulateur-golf-sport.fr/

    Thanks,
    AB

    #293920

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .menu-text {
    position: relative;
    top: -30px;
    height: 30px;
    }

    Best regards,
    Yigit

    #293933

    Hi,

    thank you for your answer, it work properly but i still need a little bit of your help.
    The image is not clickable, i don’t know why, any ideas ?

    Best,
    AB

    #293940

    Hi!

    Please add following code to Quick CSS as well

    .menu-text { z-index: 999; }

    Best regards,
    Yigit

    #294245

    Great thanks again Yigit !

    Best,
    AB

    #294320

    Hey!

    You are welcome AB, always glad to help : )

    Regards,
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Add image to navigation’ is closed to new replies.