Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #658556

    I am trying to apply the social icons to my header menu line, but cannot seem to find a way to do it. I would like it to look like this:

    View post on imgur.com

    Perhaps it’s because of the modifications applied to get the header to add the client login button. Any help would be greatly appreciated.

    • This topic was modified 8 years, 4 months ago by advteksol. Reason: Update image location
    #659284

    Hey advteksol,

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

    function av_move_social(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery("ul.noLightbox.social_bookmarks").detach().appendTo('ul#avia-menu')
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'av_move_social');

    Best regards,
    Yigit

    #659327

    That removed the social media from the footer socket (which I want to keep), not added it to the main menu in the header where I asked.

    #659329

    Hi!

    Please go to Enfold theme options > Header > Extra Elements and choose to display social icons in your header and then change the code to following one

    function av_move_social(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery("#header ul.noLightbox.social_bookmarks").detach().appendTo('ul#avia-menu')
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'av_move_social');

    Best regards,
    Yigit

    #659373

    Still not working. It removes the social icons from the footer socket. The social icons momentarily appear in the header (not the header menu bar) either above or below the Client Login button, depending on the settings in the Extra Elements area, and then disappears.

    I have left the settings as you detailed so you can see what is going on.

    #659899

    Hi,

    I added following code to bottom of Style.css file of your child theme

    #header_main nav .social_bookmarks {
        display: block;
        box-shadow: none;
    }
    #header_main nav .social_bookmarks a {
        color: white!important;
        border: none!important;
    }

    Please review your website now

    Best regards,
    Yigit

    #659949

    Better, but I need it moved over to the right (also right of the search icon) in the middle. Also need to remove the bars between the social icons and change the color when you hover over them (like the other menu items).

    Thanks.

    #660689

    Hi,

    Please add this css code:

    #avia-menu {
        width: 100%;
    }
    
    #header_main #avia-menu .social_bookmarks {
        position: absolute !important;
        right: 50px !important;
        float: none !important;
        left: auto !important;
    }
    
    .html_header_top.html_bottom_nav_header #top .main_menu .menu-item-search-dropdown {
        float: right;
        right: 300px;
    }

    Best regards,
    Ismaelo

    #660868

    Thanks, that works great! Now just need to be able to get rid of the pipes ( | ) between the social icons. How can I do that?

    #660869

    Hey!

    Please add following code to Quick CSS as well

    #header .social_bookmarks li {
        border: none;
    }

    Best regards,
    Yigit

    #660886

    That works! One more thing – how can I make it so the icons are highlighted with the colored circles like in the socket at the bottom of the page?

    #660895

    Hi!

    Please add following code to Quick CSS

    #header .av-social-link-facebook:hover a {
        background-color: #37589b !important;
    }
    #header .av-social-link-gplus:hover a {
        background-color: #de5a49 !important;
    }
    #header .av-social-link-linkedin:hover a {
        background-color: #419cca !important;
    }
    #top .social_bookmarks li a {
        border-radius: 300px!important;
    }

    Cheers!
    Yigit

    #660908

    Perfect! Thanks – you guys are great!

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Apply Social Icons to Header Menu Line’ is closed to new replies.