WordPress.org

Forums

Hueman
[resolved] Social media to main menu (10 posts)

  1. Nikolaus1005
    Member
    Posted 10 months ago #

    Hello,

    This is a great theme. Congratulation for creating it!

    Please, I need to know how to move the social media icons to the main menu (header), floating to the right. I tried to do it but my PHP knowlege is very low.

    Thank you very much!

  2. Nikolaus1005
    Member
    Posted 9 months ago #

    Please, can anyone help me?

  3. Alexander Agnarson
    Member
    Theme Author

    Posted 9 months ago #

    Hi,

    In header.php where it says:

    <?php if ( ot_get_option('site-description') != 'off' ): ?>

    Below that, add this:

    <?php alx_social_links() ; ?>

    And then perhaps this as CSS:

    #header .social-links  { float: right; margin-top: 20px; }

    As an example.

    This would be done with a child theme.

  4. Nikolaus1005
    Member
    Posted 9 months ago #

    Thank you very much, Alexander.

  5. wapfreelance
    Member
    Posted 9 months ago #

    Hello,
    first of all Thanks a lot Alexander Agnarson for creating such a nice theme and providing this for FREE. May God Bless You - Mate.

    secondly i followed your instructions but the social icons doesn't display on right side in menu. they are still displaying at the default place.

    I'm using Hueman child theme.

    Waiting for your reply.

    Thanks & Regards,
    wapfreelance

  6. wapfreelance
    Member
    Posted 9 months ago #

    Alrite - i again followed your instructions carefully and this time it works....I'm such a noob.

    Thanks

  7. noaneo
    Member
    Posted 3 months ago #

    hi,

    thank you very much !

  8. noaneo
    Member
    Posted 3 months ago #

    Hi,

    I put the code in header.php to this line
    <div class="nav-toggle"><i class="fa fa-bars"></i></div><?php alx_social_links() ; ?>
    But how do I no longer have the same links in the sidebar?
    Thank you

  9. bdbrown
    Member
    Posted 3 months ago #

    Hi noaneo. This topic has been resolved so many of us may not look at it and see your request. Please start a new topic so we can address your specific request. Thank you.

  10. noaneo
    Member
    Posted 3 months ago #

    Hi,

    no need, I found the solution.
    I did not want to start another topic for a reason, the topic shows how to have the links of social networks on the menu but it does not say how no longer have these links in sidebar.
    the solution given is incomplete.
    Put this code in the child theme style.css
    .s1 .sidebar-top, .s1 .sidebar-toggle {display: none; }

    This is the reason for my intervention in this sujet and not a new topic, I thought before.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.