Shopify themes, liquid, logos, and UX
This is an accepted solution.
Hi @TBS2023
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
@media only screen and (max-width: 989px){
summary.header__icon.header__icon--search.header__icon--summary.link.focus-inset.modal__toggle {
top: 0px !important;
}
}
</style>
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @TBS2023
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
@media only screen and (max-width: 989px){
summary.header__icon.header__icon--search.header__icon--summary.link.focus-inset.modal__toggle {
top: 0px !important;
}
}
</style>
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank You
However the search bar is still all wrong
Im not sure what design your aiming here. The search bar is not align before cause there is a code that was added so I just take it out. I try to fix your search bar on the mobile. But the input text are missing.
This is i can fix from here, better to get a developer to fix.
please, Add on the base.css file. thanks!
@media only screen and (max-width: 989px){
.modal__content {
position: absolute;
top: 0;
left: unset;
right: 100%;
}
.search__input.field__input {
padding: 0 10rem;
}
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @TBS2023
This is Amelia from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file -> Save
@media (max-width: 767px){
.header__search summary.header__icon.header__icon--search.header__icon--summary.link.focus-inset.modal__toggle {
top: 0 !important;
}
a.header__heading-link.link.link--text.focus-inset {
margin: 0;
padding-top: 0;
}}
Hope that my solution works for you.
Best regards,
Amelia | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from Free plan. Live Chat Support is available 24/7.
@TBS2023 ,
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code above </body>
<style>
@media only screen and (max-width: 990px) {
details .header__icon.header__icon--search.header__icon--summary.link.focus-inset.modal__toggle {
top: 0px !important;
}
}
</style>
Result:
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Hi @TBS2023 ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<style>
@media only screen and (max-width: 989px){
summary.header__icon.header__icon--search.header__icon--summary.link.focus-inset.modal__toggle {
top: 0px !important;
}
}
</style>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024