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

    Hey team Kriesi. Can you add the same social media icons from the main menu to the full width sub menu too?

    Regards

    /Chris

    #771725

    Hey Chris!

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

    function av_clone_si(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery("#header .social_bookmarks").clone().appendTo('.av-subnav-menu')
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'av_clone_si');

    If that does not help, please post a link to your website. We may need temporary admin logins as well :)

    Best regards,
    Yigit

    #771799

    Hey Yigit!

    Thx, but I cant make it work.

    Adress is : http://www.fyrverkeri.no

    Login credentials in private content!

    Thx!

    /Chris

    #771828

    Hi!

    I added following code to Quick CSS field

    .av-submenu-container ul.social_bookmarks {
        float: right;
    }

    and tested it on a private test page linked in private content field

    Regards,
    Yigit

    #1045778

    Hello, trying to use the above code(s) and it doesn’t work anymore? Can u tell me what it potentially changes to? Thanks

    #1045921

    Hi fashiontribe,

    Can you please explain a bit more what you’re trying to achieve?

    Best regards,
    Victoria

    #1045923

    Hi I am tring to add social media icons in the full width submenu. Please see link. I tried using the code above but it does not work. Thanks

    #1045962

    Hi fashiontribe,

    For the code above to work, you need to have the icons somewhere on the page, so that you copy them with JavaScript, but they are not even on the page. You can try copying the html from the header to the custom menu item on your fullwidth submenu.

    Best regards,
    Victoria

    #1046002

    So having them in the socket won’t work? I put the above code in the functions file.

    #1046351

    Hi fashiontribe,

    Well, if you have them in the socket on that page, we can try to copy them to the full-width submenu.

    Best regards,
    Victoria

    #1046920

    If I can just get some instruction here, I am at my wits’ end with this. if not, just close the thread

    #1048619

    Hi,

    I tried to troubleshoot this issue but the login credentials you provided do not work for me.

    Copy the code Yigit provided to you in the previous ticket to your child theme functions.php file and change #header to #footer since you have now enabled the social icons in the footer.

    Best regards,
    Vinay

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.