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

Remove white button border on Image banner & change position

Solved

Remove white button border on Image banner & change position

bloomhome
Excursionist
15 0 7

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.Screenshot 2025-01-04 071323.pngScreenshot 2025-01-04 071212.png

Accepted Solution (1)
BSS-TekLabs
Shopify Partner
2401 695 836

This is an accepted solution.

<style>
.banner--mobile-bottom .banner__box {
    padding: 0 !important;
    min-width: auto !important;
}
@media screen and (max-width: 749px) {
    .banner:not(.banner--mobile-bottom):not(.email-signup-banner) .banner__box {
        margin-top: 230px;
    }
}
</style>

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 19 (19)

BSS-TekLabs
Shopify Partner
2401 695 836

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

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
bloomhome
Excursionist
15 0 7
BSS-TekLabs
Shopify Partner
2401 695 836

- 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 </head> and press 'Save' to save it

<style>
.banner--mobile-bottom .banner__box {
    padding: 0 !important;
    min-width: auto !important;
}
</style>

- This is the result you will get:

BSSTekLabs_0-1735962702473.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
bloomhome
Excursionist
15 0 7

thanks the desktop problem solved the mobile problem remains

BSS-TekLabs
Shopify Partner
2401 695 836

This is an accepted solution.

<style>
.banner--mobile-bottom .banner__box {
    padding: 0 !important;
    min-width: auto !important;
}
@media screen and (max-width: 749px) {
    .banner:not(.banner--mobile-bottom):not(.email-signup-banner) .banner__box {
        margin-top: 230px;
    }
}
</style>

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2401 695 836

please try this code @bloomhome 

BSSTekLabs_0-1735964042013.png

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
bloomhome
Excursionist
15 0 7

where do i put this code ??

BSS-TekLabs
Shopify Partner
2401 695 836

- 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 </head> and press 'Save' to save it

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
bloomhome
Excursionist
15 0 7

thanks all done 👍

BSS-TekLabs
Shopify Partner
2401 695 836

Glad to be of help. Have a nice day.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

suyash1
Shopify Partner
11112 1367 1751

@bloomhome Can you please share this page link?

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com
bloomhome
Excursionist
15 0 7

My website link up here 

suyash1
Shopify Partner
11112 1367 1751

@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}

 

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com
bloomhome
Excursionist
15 0 7

added but not working Screenshot 2025-01-04 080510.png

suyash1
Shopify Partner
11112 1367 1751

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

 

suyash1_0-1735963737550.png

 

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com
bloomhome
Excursionist
15 0 7

thanks this one worked but the mobile problem remainsScreenshot 2025-01-04 071323.png

suyash1
Shopify Partner
11112 1367 1751

@bloomhome - for mobile add this

 

@media screen and (max-width:749px){
.banner__content{align-items: flex-end;}
}
To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com
bloomhome
Excursionist
15 0 7

where ??

 

suyash1
Shopify Partner
11112 1367 1751

@bloomhome end of base.css file

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com