-
AuthorPosts
-
March 16, 2021 at 9:43 am #1288434
Hi,
The search bar is too long and not in the right position. Can anyone help here?
Best regards
AlexMarch 16, 2021 at 9:15 pm #1288620Push :)
March 17, 2021 at 2:14 pm #1288726Maybe someone else can help with css? https://combra-shop.de/
March 19, 2021 at 4:32 pm #1289233Hi,
Thanks for contacting us and sorry for the late reply!
Please change following code
#header .widget { width: 100%; padding-top: 0; position: absolute; top: 0; transform: translate(-50%); }
into following one
#header .widget { width: 300px; position: absolute; top: 5px; transform: none; left: 25px; }
If you are not happy with the result, please post a screenshot and show the changes you would like to make. You can upload your screenshots on imgur.com and post the links here :)
Best regards,
YigitMarch 23, 2021 at 9:22 am #1289792Hi Yigit,
thanks for your code. Is it possible to get the serach button into the same row?
best regards
alex- This reply was modified 3 years, 9 months ago by combra.
March 23, 2021 at 11:10 am #1289820Hi Alex,
Please add following code to Quick CSS as well
#header #woocommerce-product-search-field-0 { width: 75%; float: left; }
Best regards,
YigitApril 16, 2021 at 8:03 pm #1294831Thanks Yigit, sorry for the delay. Can u check up my site, the search isnt reach able with the mouse. Maybe u can fix this problem?
April 20, 2021 at 9:46 am #1295469Hi,
I just checked your website but search bar in header is clickable on my end. I attached a screenshot in private content field below.
Have you figured it out already? If not, could you please elaborate on the issue you are having? :)
Best regards,
YigitApril 21, 2021 at 8:28 am #1295718Thanks Yigit, but try it with a smaller desktop resolution.
April 21, 2021 at 3:09 pm #1295813Hi,
I checked on desktop from 2560px down to 990px but both search bar and button works for me.
Are you having the issue on specific width or browser?Best regards,
YigitApril 22, 2021 at 12:58 pm #1296037Hi,
It actually dosent works with all browsers. On the notebook and PC. Slide the window a little smaller. From then on I can no longer click in the search bar. It seems like something is overlapping.
Best regards,
Alex- This reply was modified 3 years, 8 months ago by combra.
April 26, 2021 at 11:00 am #1296723Hi,
The input field is only clickable within the lower portion and it seems like there is something covering the upper area, but we cannot find it in the document, which is odd. It works when the screen width is lower than 989px.
Temporarily, you may want to consider removing the search widget and enable the default search icon instead.
Best regards,
IsmaelApril 26, 2021 at 11:51 am #1296737Hi, i added this search because i need to enable product number search. With standard enfold search there is no way to find products with the article number.
April 27, 2021 at 5:46 am #1296891Hi,
It took us a while but we have found out that the top bar or the phone info container is blocking the input field. To fix that, we have to add a space in the top area of the main header and move the widget down a bit. Please add this css code.
.html_header_top.html_bottom_nav_header #header_main { z-index: 3; padding-top: 15px; } #top .widget_product_search.widget { margin-top: 15px; }
Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Thank you for your patience.
Best regards,
IsmaelApril 27, 2021 at 8:39 am #1296925Thanks, it seems working.
April 27, 2021 at 10:58 am #1296943 -
AuthorPosts
- The topic ‘Adding search bar to header’ is closed to new replies.