-
-
Hi,
I bought June theme and I need to change header search placeholder text.
for now, The placeholder text is “Search Your Style”I did not find in searchform.php and search.php.
Could you help me?
-
Hello,
The place holder can be changed with translating the pot file.
If you want to make this manually please go to: wp-content/themes/june/includes/codeless_builder/header_elements/cl_header_tools.php and replace :
<input type="search" id="<?php echo esc_attr( $unique_id ); ?>" class="search-field input-search-field" <?php $this->generateStyle( '.search-element .input-search-field', true ); ?> placeholder="<?php echo esc_attr__( 'Search Your Style', 'june' ); ?>" autocomplete="off" value="<?php echo esc_attr(get_search_query()); ?>" name="s" />You have also to change the file: wp-content/themes/june/includes/codeless_builder/header_elements/cl_header_search.php
<div class="search-input"> <input type="search" id="<?php echo esc_attr( $unique_id ); ?>" class="search-field input-search-field" <?php $this->generateStyle( '.search-element .input-search-field', true ); ?> placeholder="<?php echo esc_attr__( 'Search Your Style', 'june' ); ?>" autocomplete="off" value="<?php echo esc_attr(get_search_query()); ?>" name="s" /> <i class="cl-icon-magnify"></i>Let us know.
Regards!
-
Hello,
Code change worked exactly as I wanted.
Thank you for your help.-
This reply was modified 6 years, 4 months ago by
mugeninpabuclari.
-
This reply was modified 6 years, 4 months ago by
-
Hello,
We glad to help you, please can you rate our theme with 5 stars. That is very kind of you.
Regards!
-
You must be logged in to reply to this topic.