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

    I have my site only displaying the mobile hamburger menu. At the bottom of the mobile menu I would like to add my social media icons (see links in private area). You will also see I have these already in the footer widget so if I could just add that custom HTML (which is what the widget is composed of) that would be best.

    #1053079

    Hey sublime5o,

    Here are some threads to consider:
    https://kriesi.at/support/topic/social-icons-in-mobile-menu-3/#post-835215

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1053389

    I have looked at both threads previously and neither worked. I sent you a link to my development website so you can see how the menu works. Is there a solution for this in my situation?

    #1053916

    Hi,

    Use this code:

    // https://kriesi.at/support/topic/social-icons-in-mobile-menu-3/#post-835215

    .. but then remove this line:

    if(isMobile == 'none') return;
    

    And replace this code:

    htmlString   = $('#header_main .social_bookmarks').find('li a'),
    

    .. with:

    htmlString   = $('#footer .social_bookmarks').find('li a'),
    

    Best regards,
    Ismael

    #1053919

    Thank you! This worked somewhat….. Had to change prependTo to appendTo later in the code to get them at the bottom.

    Now the issue is that the footer icons disappear once the hamburger menu is clicked. I want these to always remain in the footer.

    • This reply was modified 5 years, 9 months ago by sublime5o. Reason: Found the real issue now
    #1054850

    Hi,

    Try to clone the social icons by replacing this line:

    htmlString   = $('#footer .social_bookmarks').find('li a'),
    

    .. with:

    socialContainer = $('#footer .social_bookmarks').clone(),
    htmlString   = socialContainer.find('li a'),
    

    Best regards,
    Ismael

    #1054993

    Thank you. Now that keeps the icons in both places but the mobile menu/hamburger menu has them listed twice…It seems each time you open and close the mobile menu it adds another set of icons.

    • This reply was modified 5 years, 9 months ago by sublime5o. Reason: More details
    #1056456

    Hi,

    Would you mind if we access the dashboard and the file server? You can post the login details for both in the private field.

    Best regards,
    Ismael

    #1059674
    This reply has been marked as private.
    #1060926

    Hi,

    Thanks for the update.

    I modified this line a bit:

    if($('.burger-social').length) {
    				clearInterval(int);
    				return false;
    			};
    

    Best regards,
    Ismael

    #1060962

    Thank you! Perfect

    #1061758

    Hi sublime5o,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

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