Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1288434

    Hi,

    The search bar is too long and not in the right position. Can anyone help here?

    Best regards
    Alex

    #1288620

    Push :)

    #1288726

    Maybe someone else can help with css? https://combra-shop.de/

    #1289233

    Hi,

    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,
    Yigit

    #1289792

    Hi 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, 8 months ago by combra.
    #1289820

    Hi Alex,

    Please add following code to Quick CSS as well

    #header #woocommerce-product-search-field-0 {
        width: 75%;
        float: left;
    }

    Best regards,
    Yigit

    #1294831

    Thanks 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?

    #1295469

    Hi,

    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,
    Yigit

    #1295718

    Thanks Yigit, but try it with a smaller desktop resolution.

    #1295813

    Hi,

    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,
    Yigit

    #1296037

    Hi,

    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, 7 months ago by combra.
    #1296723

    Hi,

    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,
    Ismael

    #1296737

    Hi, 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.

    #1296891

    Hi,

    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,
    Ismael

    #1296925

    Thanks, it seems working.

    #1296943

    Hi,

    Glad Ismael could help!
    Let us know if you have any other questions and enjoy the rest of your day!

    Best regards,
    Yigit

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Adding search bar to header’ is closed to new replies.