Image banner buttons placement diff on desktop than mobile

Hello!

Is that a way to get the buttons to be side by side on desktop:

and stacked on mobile:

I’m sure it’s simple but I have tried so much CSS and even went into the file but no luck. Surely there is a way.

Hi @VicBrew1

Yes, TRy this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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__buttons.banner__buttons--multiple {
    flex-direction: column;
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

YOU’RE A FREAKING GENIUS! :smiling_face_with_sunglasses:

THANK YOU!

Welcome! Would you mind hitting ‘like’ as well? Thanks!