All things Shopify and commerce
In which theme you are trying to center the search?
Hello,
Dawn theme; however I was able to center the search bar using the below code but i am not able anymore to type in it. Can you please help
@media screen and (min-width: 990px) {
.header__search summary {
border: 1.5px solid;
border-radius: 20px !important;
width: 1000px;
padding: 2rem;
text-decoration: none;
position: absolute !important;
left: 50%;
transform: translateX(-50%);
}
.header__icon > span:after {
content: "Search for products";
padding-left: 6rem;
color: rgb(var(--color-foreground));
}
what's your store url
The search bar is working fine on my end
Sorry maybe i was not clear in my previous comment; what i meant that I would like to have the search directly performed on the search bar below
instead of redirecting me to another search bar when pressing on it as seen below
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024