Removing Buttons on Image Banner on Mobile - Dawn Theme

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!

1 Like

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

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.

  • 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 “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@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;
}
}
  • And Save.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Oh to remove the buttons. 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 “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@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!

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.

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.

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!

1 Like

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.