Search bar covered

Hi, when using my searchbar, the search results are covered by the header. Can anyone help me correct it ?
Thank you :slightly_smiling_face:

https://23af13-e4.myshopify.com/

2 Likes

Hello @Daniel19901 ,

Follow these steps:

  1. Go to Online Store β†’ Theme β†’ Edit code

  2. Open your base.css file and paste the following code at the bottom:

.hdt-header-col-search .hdt_predictive-search2 .hdt-cart-show-has-results { 
    z-index: 999 !important;
}

Thanks

Hi @Daniel19901 ,

Step 1: Go to Shopify Admin β†’ Online Store ->Theme β†’ Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

Hello @Daniel19901

You can add code by following these steps

  1. Go to Online Store β†’ Theme β†’ Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

.hdt-header-col-search .hdt_predictive-search2 .hdt-cart-show-has-results{ z-index: 999 !important; }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

.hdt-cart-show-has-results {
    z-index: 9999 !important;
}

Can you add this code to last line file base.css @Daniel19901

  • Please press β€˜Like’ and mark it as β€˜Solution’ if you find it helpful. Thank you.