How do i change image banner measurements on Dawn?

Hello, I need help adjusting this banner.

It looks good on desktop, but I’m not particularly fond of its look on mobile.

I’d like the grey area with buttons tom be centred just like on desktop, vs having the image banner completely on top of the button area. Here’s two pics:

thank you!

www.vittoriacashmere.it

1 Like

HI @lorypez

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__content.banner__content--middle-center.page-width {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
}

.banner__box.content-container {
    padding: 2rem !important;
}
}

"
Made4uoRibe_2-1728503143203.png
Your Feedback Matters! Please mark the solution and give likes to posts that helped you.

Your appreciation fuels our motivation to assist you better!
Made4uoRibe_3-1728503143203.png
"

1 Like

thanks mate! definitely helpful. hope the website looks good overall! :slightly_smiling_face:

I’ll ask you another question, then I won’t “harass” you anymore haha.

how can I make the grey, button area more centred? it appears to be too wide.

thanks again

1 Like

No worries, I’m happy to help if the issue is simple and straightforward. When I checked the banner, it seems like the width of the buttons has been reduced. Do you like to align in center?

If it is, check this one.

@media only screen and (max-width: 749px){
.banner__buttons.banner__buttons--multiple {
    width: 100%;
    justify-content: center;
}
}

And Save.

Result:

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

1 Like

thanks for the help, it still looks too wide, but its not a big deal.
I’ll put it on “left centred”, even if that way the text will be a little more to the left. thanks mate

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

Also, we can do this design if you like to, let me know.

1 Like