diff --git a/ckanext/odsh/fanstatic/odsh.css b/ckanext/odsh/fanstatic/odsh.css
index 261de8201d07c10935cbcac2fba6f0f6edadb960..bab0771b73b661003510bdd90d72cabb842e5385 100644
--- a/ckanext/odsh/fanstatic/odsh.css
+++ b/ckanext/odsh/fanstatic/odsh.css
@@ -1857,7 +1857,7 @@ body {
 }
 
 @media (max-width: 767px) {
-  .search-box-container:focus-within {
+  #dataset-search-box-form .search-box-container:focus-within {
     position: absolute;
     margin-right: auto;
     margin-left: auto;