Tagged: x
-
AuthorPosts
-
December 4, 2016 at 12:08 pm #1280628
GarryParticipantHi X theme.
I want to change my navbar search style. So when people click the search icon it will turn into small box to be filled. Not like X theme standard into full screen search field.
How can I do it ? thanksDecember 4, 2016 at 12:22 pm #1280636
RupokMemberHey there,
Thanks for writing in! Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding. Take care!
December 4, 2016 at 8:06 pm #1281010
GarryParticipantokey tell me how can I change the default word on navbar search. I waant to “change type and press enter to search”
ThankyouDecember 4, 2016 at 9:34 pm #1281082
Rue NelModeratorHello There,
Thanks for updating in! To change the phrase in the search overlay, since the child theme is already set up, please add the following code in your child themeβs functions.php file
// Navbar Searchform Popup // ============================================================================= if ( ! function_exists( 'x_navbar_searchform_overlay' ) ) : function x_navbar_searchform_overlay() { if ( x_get_option( 'x_header_search_enable' ) == '1' ) : ?> <div class="x-searchform-overlay"> <div class="x-searchform-overlay-inner"> <div class="x-container max width"> <form method="get" id="searchform" class="form-search center-text" action="<?php echo esc_url( home_url( '/' ) ); ?>"> <label for="s" class="cfc-h-tx tt-upper"><?php _e( 'Insert your own text here', '__x__' ); ?></label> <input type="text" id="s" class="search-query cfc-h-tx center-text tt-upper" name="s"> </form> </div> </div> </div> <?php endif; } add_action( 'x_before_site_end', 'x_navbar_searchform_overlay' ); endif;And please do not forget to replace the text in the code above.
Please let us know how it goes.
December 5, 2016 at 9:41 am #1281693
GarryParticipantThankyou it works!
Sorry but If want to change search display do you know some plugin that works?
or any other way?
If I want to change the display into ordinary normal search field. so people can enter the text they want to search without pressing magnifier icon first.Thanks π
December 5, 2016 at 9:52 am #1281705
RupokMemberHi there,
You can search on the plugin repository. Let’s try this plugin. Note that we don’t recommend any third party plugin as we don’t provide support or guarantee for any third party plugin.
Thanks!
December 5, 2016 at 8:23 pm #1282490
GarryParticipantOh okey, thankyou for your help.
Wish you luck πDecember 6, 2016 at 2:28 am #1282728
Paul RModeratorYou’re welcome! π
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1280628 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
