Hello Everybody!
I am changing my website a bit and got some toubles with my buttons on the slideshow and image banners..
I can change text color etc. but not the border of the button itself.. can someone help me with that please?
I would want it to be white!
I will put some screenshots in so it will be easier
thanks for the help!
Hi @LeandroS ,
kindly provide your store URL please and if it is password protected, please share the password as well.
Thanks!
Hi @LeandroS
Can you please share the store password so I can provide the exact code for this?
www.gogghi.ch
password: DESERTPALM-SUMMERDUNES
www.gogghi.ch
password: DESERTPALM-SUMMERDUNES
Hi @LeandroS ,
- Go to Online Store → Theme → Edit code.
- Open your theme.css / based.css file and paste the code in the bottom of the file.
.banner__box .button--secondary:after {
border: 1px solid black !important;
}
.banner__box .button:after, .shopify-challenge__button:after, .customer button:after, .shopify-payment-button__button--unbranded:after{
box-shadow: 0 0 white !important;
border: 1px solid black;
}
@LeandroS
- Go to Online Store → Theme → Edit code.
- Open your theme.css / based.css file and paste the code in the bottom of the file.
.banner__box .button--secondary:after {
border: 1px solid black !important;
}
.banner__box .button:after, .shopify-challenge__button:after, .customer button:after, .shopify-payment-button__button--unbranded:after{
box-shadow: 0 0 white !important;
border: 1px solid black;
}
Try this code
Navigate to Online Store > Themes > click on Edit code.
Locate and open the theme.css or base.css file. Scroll to the bottom and add the following CSS code:
.button:after, .shopify-challenge__button:after, .customer button:after, .shopify-payment-button__button--unbranded::after {
box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) #fff, 0 0 0 var(--buttons-border-width) #f8f8f8 !important;
}
perfect thanks for the help!