Shopify themes, liquid, logos, and UX
Hi,
I am trying to add a button to my image banner but it comes up with a big white background and covers text on the image.
I have tried adding code into CCS as seen on other suggestions but with no effect.
I also would like to be able to bring the button down lower (where the red circle is) on the image, is this possible?
Image attached to demonstrate issue.
TIA.
Solved! Go to the solution
This is an accepted solution.
Thanks for the info, I just like to explain to you why it comes with the white surface.
The white surface is the area where you can add the titles and subtitles. In your banner you add the text in the image. That Idea the text wont be dynamic you cant change the text, also it would be smaller and cutting on the smaller screen. For me, it's better to add the text on the default text area.
Check this one for the button.
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:
.banner__box.content-container {
background: transparent;
}
.banner__content.banner__content--middle-center {
align-items: flex-end !important;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hey @PeurneLtd,
Can you share the link to your store please? Thanks!
Hi @PeurneLtd
The button is not visible.
Hey @PeurneLtd,
The section seems to be disabled. Can you enable it for me to see what the issue is?
Hi @PeurneLtd
Would you mind to share your store URL? Thanks!
Thanks for the info, can you please add the button? and share the preview. So we can edit it with button. Thanks!
HI, I have added the button
This is an accepted solution.
Thanks for the info, I just like to explain to you why it comes with the white surface.
The white surface is the area where you can add the titles and subtitles. In your banner you add the text in the image. That Idea the text wont be dynamic you cant change the text, also it would be smaller and cutting on the smaller screen. For me, it's better to add the text on the default text area.
Check this one for the button.
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:
.banner__box.content-container {
background: transparent;
}
.banner__content.banner__content--middle-center {
align-items: flex-end !important;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
That's amazing thank you!
Do you know how to amend it so it appears the same when viewed on mobile? I have set the settings to stack images but it doesn't adjust the image size or button position when on mobile?
This is Noah from PageFly - Shopify Page Builder App
Please disable "Show container on desktop" in theme editor to hidden box white contain. Please see image here:
And if you want change position button please provide with me url. I will give you help solution .
Thank you !
Best regards,
Noah | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hello There,
Please share your store URL and password.
So that I will check and let you know the exact solution here.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025