Shopify themes, liquid, logos, and UX
Hello,
My search bar does not get smaller when the screen gets smaller, the logo gets behind it and it all looks weird.
my store: https://r1vex.myshopify.com/
Normal:
When i make the screen smaller :
Correct!
- Here is the solution for you @manbru
- Please follow these steps:
- Then find the theme.liquid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.
<style>
@media only screen and (max-width: 1350px) {
input.search__input.field__input {
width: auto !important;
}
}
</style>
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase
Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell
Thanks for your replay, but i would want the search bars width to gradually become smaller.
Here's how it looks now after i've added the code you provided and also an example:
Excuse me have you had time to look att the video in my first reply?
Thanks 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, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024