Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #845212

    Hi. Tell me how to add the search above the navigation menu? I use the template on the left side – http://www.moto-center.ru/
    https://hostingkartinok.com/show-image.php?id=d8132e2713ed3d0651b142c114f70916

    Thanks!

    #845424

    UP

    #845861

    Hi Dobrodukh,

    Here is the code you can put in your funtions.php

    
    function av_move_search() {
    ?>
    <script>
    	jQuery(window).load(function() {		
    		jQuery("#search-2").css("width", "80%" ).css("margin", "0 auto").prependTo("nav.main_menu");
    	});
    </script>
    <?php
    }
    add_action('wp_footer', 'av_move_search');
    

    Please refrain from bumping or replying to your own thread because it gets pushed back to the end of the queue and moderators won’t be able to provide a response immediately. Please be patient while we go through the rest of the queue. Thank you for your understanding.

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

    #845939

    Thank you so much!!!

    #846374

    Hi Dobrodukh,

    Glad we could help :)

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

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.