Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1137039

    Hi
    I know support doesnt work with who needs customization, but I’m a good programmer and I can edit php by myself.
    I just need an advice about the file I need to edit to add this.
    I need to put a static image with switzerland flag as the screenshot, without any links (actually the flag in a part of the logo).
    Can you please tell me what php page I need to edit?
    Thank you

    SCREENSHOT: http://intergesso.ch/website.JPG

    #1137569

    Hey LorenzoC1991,

    Your site is still in maintenance mode, can you give us access? so we can atleast inspect the header of your page? since that image isn’t part of Enfold, maybe it’s from a plugin.

    Best regards,
    Nikko

    #1138211

    Sure! Sorry I forgot :(

    • This reply was modified 1 month ago by  Nikko.
    #1138212

    And no, it’s default enfold imported demo header :D

    #1138321

    Hi LorenzoC1991,

    Thanks, but I don’t see the flag when I checked: https://imgur.com/dbhUKA6
    However to add it, you can use a hook/action and put it in functions.php of your child theme (just tweak the code):

    add_action('ava_inside_main_menu', 'add_flag', 99);
    
    function add_flag() {
    	echo '<div class="flag"><img src="https://mywebsite.com/wp-content/uploads/2019/9/flag.png" alt="flag" /></div>';
    }

    then in Quick CSS, located in Enfold > General Styling, add this css code:

    .flag {
        float: right;
        height: 30px;
        position: relative;
        top: 50%;
        margin-top: -16px;
    }

    Hope it helps :)

    Best regards,
    Nikko

    #1139004

    Sorry but my customer asked to change the logo and I didnt applyed the flag

    Can you please check now and tell me if I made it correct?

    I’m afraid that on others resolutions the flag will move! (actually I’m on 32″ 1920x1080px monitor)

    Thank you

    #1139005

    Ok I putted more CSS so on mobile flag will disappear :)

    really thx for all your support ^^

    #1139319

    Hi LorenzoC1991,

    I see the flag now after the social icon. :)
    We’re glad that we could help.
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Custom Social Image and link on top’ is closed to new replies.