Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #655145

    Hello,

    I’d like to have a search bar displayed in my mobile view. I couldn’t find anything. I want it to be displayed below the navigation and over the header image. not in the hamburger. Is there a way?

    Best wishes
    marlene

    #655328

    I actually managed to get the searchbar. But i want it to be displayed above my logo and beneth the orange bar. i tried to insert this code into header.php add_shortcode('avia_search', 'get_search_form'); but it didnt work. is there something i am missing?

    #655468

    Hi,

    Thanks for getting in touch with us!

    Currently the search bar is above the logo how you want it but inside the top second header. The code is added correctly or the search bar would not show, it is where in the file you added the code. Take it out of the div class for the second header if you do not wint it inside the orange.

    Let me know if you need further assistance.

    Best regards,
    Jordan

    #655589

    if i remove the div it will be exactly where it was. the color is adjusted to the whole second header. i want to insert it into header.php – because i want to show it above the logo and beneth the second header. can you tell me where to insert this code?

    add_shortcode('avia_search', 'get_search_form');

    greets.

    • This reply was modified 7 years, 9 months ago by hannerinc.
    #656041

    Hi,

    Could you please provide login details to your site, so that we can have a closer look and assist you further. You can place the information in the Private Content section of your reply.

    Best regards,
    Jordan

    #656418

    Here they are

    #656828

    Hi!

    Thank you for the info. Please remove the search code from the phone info field then add this in the functions.php file:

    add_action('ava_main_header', 'ava_main_header_mod', 10);
    function ava_main_header_mod() {
    	$output  = '<div class="sucheGerl">';
    	$output .= '<form action="http://gebrauchte-minibagger.at/" id="searchform" method="get" class="">';
    	$output .= '<div>';
    	$output .= '<input type="submit" value="" id="searchsubmit" class="button avia-font-entypo-fontello">';
    	$output .= '<input type="text" id="s" name="s" value="dfsfdsfds" placeholder="Suche">';
    	$output .= '</div>';
    	$output .= '</form></div>';
    	echo $output;
    }

    Adjust the position with css.

    Best regards,
    Ismael

    #656839

    Hi ismael
    it doesnt work it says the following…
    the website should go online today, could you please help me

    • This reply was modified 7 years, 9 months ago by hannerinc.
    #658263

    Hey!

    My bad. The callback name is different from the actual function. We modified the code above. Please try it again.

    Regards,
    Ismael

    #658312

    Thank you!!!!!!!

    #659093

    Hi,

    Glad we could help.
    Let us know if you have any questions.

    Best regards,
    Vinay

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