Okay
  Public Ticket #1126751
Social media icon
Closed

Comments

  •  2
    cornevmierlo started the conversation

    Hello,

    Donald Arch is a great theme to use. And has a lot of functions. But I want to change one of those functions. Under the main menu, we have an option to show social media icons made by Font-Awesome. I want to change those icons to two logo's I have on my PC. But I don't know how.

    My question is can you help me with that?


    Best regards,

    Corné.


  •  2,010
    Ocean replied

    Hello,

    Thank you for buying and using our theme.

    We will try to help you to solve the problem, but you need to clearly explain your question and attach additional pictures related to your question let us understand.

    Thank you

  •  2
    cornevmierlo replied

    On the left side, you see the menu. Under the nav, you can show social media icons used by Font-Awesome. My question is, can I change those icons to two logo's that I have.

    In HTML is not hard to do, but in PHP I have no idea.

    Website


    Best regards,
    Corné.

  •  2,010
    Ocean replied

    Hello,

    You will need to edit the code by manually in the header-left.php file ( theme path: wp-content/themes/donald/framework/headers/ )

    <?php $socials = donald_get_option( 'socials', array() ); ?>
        <?php if($socials) { ?-->
        <ul class="widget-social-list">
            <!--?php foreach ( $socials as $social ) { ?-->
            <li><a href="<?php echo esc_url($social['link']); ?>"><i class="fa <?php echo esc_attr($social['icon']); ?>" aria-hidden="true"></i></a></li>
            <!--?php } ?-->
        </ul>
        <!--?php } ?-->
    

    Change to:

    <ul class="widget-social-list">
        <li><a href="#"><img src="your link image url"></a></li>
    </ul>
    

    Thank you