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

Re: Black Border/Shadow/Outline that won't go away

Solved

Black Border/Shadow/Outline that won't go away

Fredautoparts
Tourist
8 1 1

I need help ASAP. This button I created has a black border, outline or shadow that I can't get rid of. I've tried everything I found already online but I might've done it wrong, so I'm open to any suggestions.

 

Web: fredautoparts.com 

 

Liquid:

<a href="#" class="order-btn button">Place Order</a>

 

CSS: 

a.order-btn.button {
position: fixed;
display: inline-block;
right: 15px;
top: 90%;
border-radius: 28px;
font-family: Arial;
color: #000000;
font-size: 14px;
background: #f9dd33;
padding: 10px 30px 10px 30px;
margin-top: 20px;
font-size: 20px;
font-weight: medium;
z-index: 999;
}

a.order-btn.button:hover {
color: #ffffff;
background: #1890ff;
text-decoration: none;
}

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10211 2427 3080

This is an accepted solution.

Hi @Fredautoparts 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

a.order-btn.button:before, a.order-btn.button:after {
    box-shadow: none !important;
}

 

  • and Save. 
  • Result:
  • Made4uoRibe_0-1720648429145.png

     

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 4 (4)

Made4uo-Ribe
Shopify Partner
10211 2427 3080

This is an accepted solution.

Hi @Fredautoparts 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

a.order-btn.button:before, a.order-btn.button:after {
    box-shadow: none !important;
}

 

  • and Save. 
  • Result:
  • Made4uoRibe_0-1720648429145.png

     

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.
Fredautoparts
Tourist
8 1 1

Wow. Thank you so much! You're a life saver.

rutvik_shop
Shopify Partner
719 63 126

Hello @Fredautoparts ,

You can try this code: it will be helpful to you 

Go to the Online Store->Theme->Edit code->Assets->base.css>add this code at the bottom of the file.

a.order-btn.button:after {
    box-shadow: none !important;
}

 

iCart Cart Drawer Cart Upsell App


- If you find the solution helpful, please accept and like it
- To learn more visit www.identixweb.com

rutvik_shop
Shopify Partner
719 63 126

Hello @Fredautoparts ,

You can try this code: it will be helpful to you. 

Go to the Online Store->Theme->Edit code->Assets->base.css>add this code at the bottom of the file.

a.order-btn.button:after {
    box-shadow: none !important;
}

 

iCart Cart Drawer Cart Upsell App


- If you find the solution helpful, please accept and like it
- To learn more visit www.identixweb.com