Edit Text Box Width on Image Banner (Desktop only)

Hey, i got a Image Banner on Desktop. (Different one on Mobile)

Now i want to edit just the width of the text on the desktop one, so it isnt layered over the candle. All Text should be placed right besides the candle!

I really appreciate your help!

https://pb9rithagnadrdic-85421687108.shopifypreview.com

burtah

1 Like

@noah12x2 please add this css to the very end of your base.css file and check,
Shopify Admin → Online Store ->Theme → Edit code → base.css

@media screen and (min--width:750px){
.banner--desktop-transparent .banner__box{max-width: 65rem !important;}
}

Hi @noah12x2

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 (min-width: 749px){
.banner__content.banner__content--middle-right.page-width {
    margin-right: 0;
}

.banner--desktop-transparent .banner__box {
    width: 50%;
}
}

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