Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #350241

    wo kann ich den text in der suchmaske abändern damit er vollständig lesbar ist? https://www.sendspace.com/file/8d9fur

    http://www.weinkellerei-woeber.at/weinkellerei/?product_cat=qualitatsweine

    Ich möchte nur “Produkt” in die Suchmaske schreiben und es sollte derselbe Font sein wie die Fonts unterhalb (Qualitätsweine, Landweine, Cocktails).

    #351075

    Hi diefleischerei!

    Thank you for using Enfold.

    Please add this on functions.php:

    add_filter('get_product_search_form', 'get_product_search_form_modify', 10, 1);
    function get_product_search_form_modify($form)
    {
    	//global $product; 
    	
    	$form = '<form role="search" method="get" id="searchform" action="' . esc_url( home_url( '/'  ) ) . '">
    	<div>
    		<label class="screen-reader-text" for="s">' . __( 'Search for:', 'woocommerce' ) . '</label>
    		<input type="text" value="' . get_search_query() . '" name="s" id="s" placeholder="' . __( 'Produkt', 'woocommerce' ) . '" />
    		<input type="submit" id="searchsubmit" value="'. esc_attr__( 'Suche', 'woocommerce' ) .'" />
    		<input type="hidden" name="post_type" value="product" />
    	</div>
    	</form>';
    	
    	return $form;
    }

    Regards,
    Ismael

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