Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1294050

    Hi there,

    can you help how to style the burger menu like attached image?
    Can’t seem to work it out. I do have the menu in place, but can’t find the solution for less vertical spacing, and putting the address on the bottom.

    regs,

    #1294484

    Hey jorisbl,

    Thank you for the inquiry.

    Have you started with the modifications? We have to check the actual site first and see the current layout in order to provide the necessary code or changes for the mobile menu.

    To add or move the social icons inside the mobile menu, please implement the script from the following thread.

    // https://kriesi.at/support/topic/social-icon-in-mobile-menu/#post-1226347

    Best regards,
    Ismael

    #1294504

    Hi Ismael.

    no didn’t start the modifications. Still need some help with vertical spacing, seperator, adress in the menu bar and icons on the bottom.

    regs,

    #1294949

    Hi,

    Thanks for the update. Let’s try to deal with one problem at a time, did you try adding the code Ismael linked to? If you are having problems with that, then please give us access to the site in question, so that we can have a closer look.

    Best regards,
    Rikard

    #1295016

    HI Rikard,
    I have added the code ismael linked to. But that didn’t solve it..

    #1295656

    Hi,

    Thanks for the update. What kind of problems did you run into? Where can we see the results you are getting?

    Best regards,
    Rikard

    #1295709

    Hi Rikard,

    you can see it on the actual website, see link in private content.
    As I’ve mentioned above, I would like to have the burger menu as is on the picture above.

    regs,

    #1296029

    Hi,

    Thank you for the info.

    The script that we provided in the previous thread will move the social icons inside the mobile menu, but since the social icons are not yet enabled in your site, the script has nothing to move.

    Please enable the social icons in the Enfold > Header > Extra Elements panel, then test it again. We can add a few css if you want the social icon to only display inside the mobile menu.

    Best regards,
    Ismael

    #1296138

    Hi Ismael,

    have enabled the social icons, but they are now next to the menu? And could you give some css to style the vertical space between the menu items?

    #1296194

    Hi,

    To hide the social icons beside the menu, please use this css code.

    .avia-menu + .social_bookmarks {
        opacity: 0;
    }
    

    We edited the script a bit. Please try this one instead.

    
    // move social icons inside icon or mobile menu
    function ava_custom_script_mod_social()
    {
    ?>
    	<script>
    		(function($) {
    			$(document).ready(function() {
    				var burger_wrap = $('.av-burger-menu-main a');
    				var social = $('.social_bookmarks');
    				
    				$(burger_wrap).on('avia_burger_list_created', function() {
    					setTimeout(() => {
    						social.appendTo('#av-burger-menu-ul').addClass("mobile_social_bookmarks");
    					}, 150);	
    				});
    			});
    		})(jQuery);
    	</script>
    <?php
    }
    add_action('wp_footer', 'ava_custom_script_mod_social', 10000);
    

    Best regards,
    Ismael

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