Tagged: Fullwidth sub menu, social media
-
AuthorPosts
-
March 30, 2017 at 1:58 pm #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
April 4, 2017 at 12:59 pm #771725Hey 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,
YigitApril 4, 2017 at 2:49 pm #771799Hey Yigit!
Thx, but I cant make it work.
Adress is : http://www.fyrverkeri.no
Login credentials in private content!
Thx!
/Chris
April 4, 2017 at 3:34 pm #771828Hi!
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,
YigitDecember 16, 2018 at 4:08 am #1045778Hello, trying to use the above code(s) and it doesn’t work anymore? Can u tell me what it potentially changes to? Thanks
December 16, 2018 at 3:30 pm #1045921Hi fashiontribe,
Can you please explain a bit more what you’re trying to achieve?
Best regards,
VictoriaDecember 16, 2018 at 3:45 pm #1045923Hi 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
December 16, 2018 at 4:42 pm #1045962Hi 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,
VictoriaDecember 16, 2018 at 6:21 pm #1046002So having them in the socket won’t work? I put the above code in the functions file.
December 17, 2018 at 4:05 pm #1046351Hi 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,
VictoriaDecember 18, 2018 at 3:42 pm #1046920If I can just get some instruction here, I am at my wits’ end with this. if not, just close the thread
December 22, 2018 at 8:27 pm #1048619Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.