Shopify themes, liquid, logos, and UX
Hello, I am trying to remove the image banner buttons from the mobile site. They are in a good position on Desktop,but on mobile they come before the image. Looking for help to remove from mobile. Thanks!
Here's my site so you can look www.maderadesignstudio.com I tried to attach images but it won't allow that/ Thanks!
Solved! Go to the solution
This is an accepted solution.
Can check this code, again if its working on iphone? Thanks!
@media only screen and (max-width: 749px){
.banner--stacked .banner__box {
display: none !important;
}
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find base.css file
@media only screen and (max-width: 600px) {
.banner__content.banner__content--bottom-right.page-width.scroll-trigger.animate--slide-in {
display: none !important;
}
}
Hello, Thanks for the super fast response. I added that code at the bottom of base.css -- in the Shopify editor it shows that the buttons are gone, but on my Iphone they still appear. I cleared the cache on my ipone, can you have a look and see if you see the buttons live? Thanks a ton! - Stacey
check this code
@media only screen and (max-width: 600px) {
.banner__content.banner__content--bottom-right.page-width.scroll-trigger.animate--slide-in {
display: none !important;
visibility:hidden !important;
}
}
Hi. This is the same. In the shopify dashboard in mobile view, it's not there, yet on my phone it's still there. Did you see it on your phone? Thanks.
Hi @StaceyS
Do you really like to remove theme? Or maybe this one will be good idea?
The size of your banner in mobile are not fitted well. So I fixed a bit.
I used this codes.
@media only screen and (max-width: 749px){
.banner--content-align-mobile-right .banner__box {
background: transparent !important;
text-align: center !important;
}
.banner__content.banner__content--bottom-right.page-width.scroll-trigger.animate--slide-in {
position: absolute;
top: 5px;
}
.banner--medium.banner--mobile-bottom:not(.banner--adapt) .banner__media, .banner--medium.banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt)>.banner__media {
height: 100vw !important;
}
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Oh to remove the buttons. Check this one.
@media only screen and (max-width: 749px){
.banner__content.banner__content--bottom-right.page-width.scroll-trigger.animate--slide-in {
display: none;
}
.banner--medium.banner--mobile-bottom:not(.banner--adapt) .banner__media, .banner--medium.banner--stacked:not(.banner--mobile-bottom):not(.banner--adapt)>.banner__media {
height: 100vw !important;
}
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
I tried this, it also works on the shopify site, but not on my iphone. It still shows on my phone??
it is iphone or ipad?
I'm on an Iphone 13Pro . I also checked on a friends older iphone both show the buttons.
This is an accepted solution.
Can check this code, again if its working on iphone? Thanks!
@media only screen and (max-width: 749px){
.banner--stacked .banner__box {
display: none !important;
}
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi. Just replaced old code with this. It doesn't work on my iphone, I still see the buttons. Have you looked on your phone? Do you see them on mobile? Thanks for your help.
I have the idea to take your code and paste it inside assets > Section.image.banner at the bottom and it worked!! Thanks.
Good to hear that! Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Be sure to post this code into the assets --- section.image.banner.css at the bottom. Then it works.
User | RANK |
---|---|
200 | |
175 | |
81 | |
60 | |
48 |
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