Liquid, JavaScript, themes, sales channels
Hi All, I'm at tinyotters.com - we're having this odd overlap about halfway down in one of our sections on the mobile version of our homepage. Any thoughts?
Solved! Go to the solution
This is an accepted solution.
Hi @tinyotters
You can follow:
1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid theme file
3. Paste the below code before </body>
<style>
@media screen and (max-width: 749px){
#Banner-template--14876584706186__1663593643728333ea .banner__heading{
margin-top: 0px !important;
}
#Banner-template--14876584706186__1663593643728333ea .banner__content{
order: 1 !important;
}
#Banner-template--14876584706186__1663593643728333ea .banner__media{
order: 2 !important;
}
}
</style>
(I changed the code above to avoid conflicts)
Like this:
I hope it works.
Best regards,
GemPages Support Team
@Hello @tinyotters
I would like to give you some recommendations to support you
The issue comes from below code in your theme.
You can instead the above code or write below it by this code
@media screen and (max-width: 749px){
.banner__heading{
margin-top: 0px !important;
}
.banner--mobile-bottom:not(.banner--stacked) .banner__content{
order: 1 !important;
}
.banner--mobile-bottom .banner__media{
order: 2 !important;
}
}
Hope my recommendation can works and support for you!
Kind & Best regards!
GemPages Support Team
This is an accepted solution.
Hi @tinyotters
You can follow:
1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid theme file
3. Paste the below code before </body>
<style>
@media screen and (max-width: 749px){
#Banner-template--14876584706186__1663593643728333ea .banner__heading{
margin-top: 0px !important;
}
#Banner-template--14876584706186__1663593643728333ea .banner__content{
order: 1 !important;
}
#Banner-template--14876584706186__1663593643728333ea .banner__media{
order: 2 !important;
}
}
</style>
(I changed the code above to avoid conflicts)
Like this:
I hope it works.
Best regards,
GemPages Support Team
I am glad that my solution is helpful to you 😁.
Hello, I am having the same problem -- in several places on our homepage.
I wondered if this fix would also work with the Dawn theme?
Also, I am not a coder and feel uncertain about using code -- is there another way to fix this using the editing menu instead of code?
Thanks!
oh sorry for this issue, can you please send store url so i will check and guide you
Hi @tinyotters ,
This is Victor from PageFly - Advanced Page Builder. I would love to give you some recommendations
@media screen and (max-width: 749px){
.banner__heading {
margin-top:-300px !important
}
}
Hope my solution works perfectly for you!
Best regards,
Victor | PageFly
Hello @tinyotters,
To fix this issue, you need to add the below code at the end of your assets/base.css file:
@media screen and (max-width: 749px){
.banner__heading{
margin-top: 0px !important;
}
.banner--mobile-bottom .banner__media{
order: 2 !important;
}
}
Hope it helps, let us know if you need any help.
Regards,
CedCommerce
Sadly this did not work.
User | RANK |
---|---|
37 | |
28 | |
14 | |
13 | |
9 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023