Search form - by mkep - on WordPress WooCommerce support

This topic has 3 replies, 3 voices, and was last updated 8 years, 7 months ago ago by Robert Hall

  • Avatar: syn
    mkep
    Participant
    September 8, 2015 at 10:25

    Hello,

    How can I change the text “Search for…” on the search modal window ?

    Its not in the .po traduction…

    <div class="modal-dialog text-center">
    					<h3 class="large-h">Rechercher un produit</h3>
    					<small class="mini-text">Utilisez ce formulaire pour trouver ce que vous cherchez</small>
    				
    					    
            
    	<form method="get" class="hide-input" id="searchform" action="http://www.vente-terminal-de-paiement.com/"> 
    		<div class="form-horizontal modal-form">
    			<div class="form-group has-border">
    				<div class="col-xs-10">
    					<input type="text" id="s" name="s" onfocus="if(this.value=='Search for...')this.value=''" onblur="if(this.value=='')this.value='<strong>Search for...</strong>'" class="form-control" value="Search for...">
    					<input type="hidden" value="product" name="post_type">
    				</div>
    			</div>
    			<div class="form-group form-button">
    				<button class="btn medium-btn btn-black" type="submit">Rechercher</button>
    			</div>
    		</div>
    	</form>
    	
    					
    				</div>

    Thanks

    2 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    September 8, 2015 at 10:37

    Hello,

    You need edit the file in wp-content/themes/royal/woosearchform.php in line 14.

    Regards,
    Eva Kemp.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    September 8, 2015 at 10:38

    Hello,

    You can find this string in \themes\royal\woosearchform.php file on line 14

    Regards,
    Robert Hall.

  • Viewing 3 results - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.