Home › Forums › Themes Support › Claue › Button in header with search
- This topic has 5 replies, 2 voices, and was last updated 5 years, 7 months ago by Harry.
-
AuthorPosts
-
-
September 4, 2018 at 1:24 am #24370
Hello i want to put the button search inside the input like this:
but i cant, the button is out the input.
Please help me.
Thanks
-
September 4, 2018 at 5:06 pm #24381
Hi,
Hi Artey.
Thank you for choose our theme.
Please add below code to search form below input text http://take.ms/5buV2
<button type="submit"><i class="pe-7s-search"></i></button>
and remove border around input text and add border for search form.
We recommend move all your customize codes to child theme.
Because when you update parent theme all of your customize code will be delete.
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
September 27, 2018 at 10:49 pm #25109
I do that but the button is out anyway.
:/
-
September 27, 2018 at 11:43 pm #25111
Hi,
Please add below CSS code
#woocommerce-product-search-field-1 { border: none; background: none; } .woocommerce-product-search.hidden-sm { border: 1px solid #ccc; background: #FFF; border-radius: 15px; }
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
September 28, 2018 at 12:28 am #25113
Hi,
I add the lines of css, now the button is in, but do not adjust.
I need the search like the bar of woocomerce.
Thnaks!
-
September 28, 2018 at 8:22 am #25116
Hi,
Please add more CSS to reduce width of input field
#woocommerce-product-search-field-1 { width: calc(100% - 100px);}
and change 100px as width of search button.
Regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.