Remove white button border on Image banner & change position

Topic summary

A user encountered two styling issues with a button on their Shopify image banner: an unwanted white background appearing around the button, and difficulty positioning the button lower on mobile devices.

Desktop Issue - White Background:

  • Two solutions were provided involving CSS code
  • Both required adding custom CSS to either theme.liquid or base.css files
  • The white background was successfully removed after clearing cache

Mobile Issue - Button Positioning:

  • The button needed to be repositioned lower on mobile view
  • Solution involved adding media query CSS to base.css targeting screens under 749px width
  • Code adjusted the banner content alignment to flex-end

Resolution:
Both issues were resolved through custom CSS additions. The user confirmed all problems were fixed after implementing the provided code snippets in the appropriate theme files.

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

I am trying to add a button to my image banner but it comes up with a big white background.

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 (in mobile version) on the image.

1 Like

Hello @bloomhome
Our team is ready to help you.
Please share your website URL so that we can check and assist you.

@bloomhome Can you please share this page link?

https://qcg96d-rp.myshopify.com/

1 Like

My website link up here

  • Here is the solution for you @bloomhome
  • Please follow these steps:
  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.liquid file
  3. In theme.liquid, paste the below code before and press ‘Save’ to save it

  • This is the result you will get:

  • Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.
1 Like

@bloomhome -

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

.banner--mobile-bottom .banner__box {background: none !important; padding-bottom:0 !important}
1 Like

thanks the desktop problem solved the mobile problem remains

1 Like

added but not working

@bloomhome please clear cache and check, it is working at my end

1 Like

thanks this one worked but the mobile problem remains


1 Like

please try this code @bloomhome

  • Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.

@bloomhome - for mobile add this

@media screen and (max-width:749px){
.banner__content{align-items: flex-end;}
}

where do i put this code ??

1 Like

where ??

@bloomhome end of base.css file

  • Please follow these steps:
  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.liquid file
  3. In theme.liquid, paste the below code before and press ‘Save’ to save it
1 Like

thanks all done :+1:

1 Like

Glad to be of help. Have a nice day.