Hi, when using my searchbar, the search results are covered by the header. Can anyone help me correct it ?
Thank you ![]()
Hello @Daniel19901 ,
Follow these steps:
-
Go to Online Store β Theme β Edit code
-
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 ![]()
Hello @Daniel19901
You can add code by following these steps
-
Go to Online Store β Theme β Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
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.



