Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1074432

    Hello guys,

    I need the search icon in the Fullwidth Sub Menu. Can someone help me?

    Thank you!

    #1075280

    Hey auserde,

    Please try the solution posted here: https://kriesi.at/support/topic/add-the-search-icon-from-header-into-a-full-width-submenu/
    Hope it helps.

    Best regards,
    Nikko

    #1075438

    Hello Nikko,

    sorry, I should have written it, that I already know this post and that does not work for me.

    Best regards,
    Andrej

    #1076842

    Hi,

    Have you followed the steps? Can we see it somewhere it live.

    Best regards,
    Basilis

    #1080144

    Hello Basilis,

    yes, I added this code from Victoria (with my id):

    add_action('wp_footer', 'ava_new_custom_script');
    function ava_new_custom_script(){
    ?>
    <script type="text/javascript">
    (function($) {
    	function a() {
    		$('#menu-menu-2018').append($('li#menu-item-search').clone());
    	}
    
    	$(window).load(function() {
    		a();
    	});
    })(jQuery);
    </script>
    <?php
    }

    but nothing happens.

    Best regards,
    Andrej

    #1081616

    Hi,

    Thanks for the update.

    The header where the search icon is must be present in order for that script to work. The header is disabled on that page. Have you tried enabling the header?

    Best regards,
    Ismael

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