We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Dawn How to make banner image not take up whole width

Solved

Dawn How to make banner image not take up whole width

upto
Excursionist
18 1 9

Can anyone help me?

For the last 3 hours I have been searching previous discussions looking for an answer but found nothing, I'm trying to make the image on my banner not take up the entire width of the page, how can i change the width?

57.PNGtempsnip.png

Accepted Solutions (2)
Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Thank you for the information. Try 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:

 

div#Banner-template--20708145889586__image_banner {
    margin: 0 55px;
}

 

  • And Save.

I hope it help. 

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

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.

View solution in original post

Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Yes we can change that, same Instruction. 

 

section#shopify-section-template--20708145889586__image_banner {
    background: black;
}

 

I notice that your slideshow also not on the black background. If you like to change also use this code. 

 

slideshow-component.slider-mobile-gutter.page-width.mobile-text-below {
    background: black;
}

 

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

 

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.

View solution in original post

Replies 11 (11)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

Hi @upto 

Would you mind to share your Store URL website? with password if its protected. Thanks!

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.
upto
Excursionist
18 1 9
upto
Excursionist
18 1 9

https://a6514b.myshopify.com/

 

Hope this works, I'm very new to all of this

Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Thank you for the information. Try 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:

 

div#Banner-template--20708145889586__image_banner {
    margin: 0 55px;
}

 

  • And Save.

I hope it help. 

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

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.
upto
Excursionist
18 1 9

That worked! 

How do I change the background to be black and not white? editing the theme colors doesn't change it

 

Capture.png

Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Yes we can change that, same Instruction. 

 

section#shopify-section-template--20708145889586__image_banner {
    background: black;
}

 

I notice that your slideshow also not on the black background. If you like to change also use this code. 

 

slideshow-component.slider-mobile-gutter.page-width.mobile-text-below {
    background: black;
}

 

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

 

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.
upto
Excursionist
18 1 9

I really appreciate the help, the top banner came out perfect but the bottom banner still has some white on the edges, do you have any ideas on how to fix it?

 

snip.PNG

Made4uo-Ribe
Shopify Partner
10211 2427 3079

Yeah, I know that is why I offer you the 2nd code on my previous comment. All are black and there is white down. 😅

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.
upto
Excursionist
18 1 9

I tried the second line of code but nothing changed?

Made4uo-Ribe
Shopify Partner
10211 2427 3079

But on my end its working, i check also in incognito. 

Ribe_Dagandara_0-1692806125289.png

Please refresh your browser or the preview. Thanks!

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.
upto
Excursionist
18 1 9

Strange, Thank you for your help