What's your biggest current challenge? Have your say in Community Polls along the right column.

Edit Text Box Width on Image Banner (Desktop only)

Solved

Edit Text Box Width on Image Banner (Desktop only)

noah12x2
Excursionist
46 0 10

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!

noah12x2_0-1729002906807.png

 

https://pb9rithagnadrdic-85421687108.shopifypreview.com

burtah

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9149 2183 2698

This is an accepted solution.

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%;
}
}

 

  • And Save.
  • result:
  • Made4uoRibe_0-1729003835989.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! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 2 (2)

suyash1
Shopify Partner
10222 1261 1601

@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;}
}
To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

Made4uo-Ribe
Shopify Partner
9149 2183 2698

This is an accepted solution.

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%;
}
}

 

  • And Save.
  • result:
  • Made4uoRibe_0-1729003835989.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! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.