How to Remove Black Text Highlight in Text Boxes (Buy Buttons)

Solved

How to Remove Black Text Highlight in Text Boxes (Buy Buttons)

theparmesan_don
Excursionist
20 1 7

I've noticed sometimes there is a black highlight around the text inside the different "buy" buttons on my product page. See images for reference. If anyone knows how to fix this please let me know! 

 

Screenshot 2024-07-24 at 4.16.44 PM.png

Screenshot 2024-07-24 at 4.16.36 PM.png

Screenshot 2024-07-24 at 4.16.26 PM.png

   

Accepted Solution (1)
BSSCommerce-HDL
Shopify Partner
2079 738 930

This is an accepted solution.

Hi @theparmesan_don

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

<style>
body .focus-none span {
    background-color: transparent !important;
}
</style>

 

Here is result: 

BSSCommerceHDL_0-1722125759642.png

Hope this can help you,

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

 

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

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

View solution in original post

Replies 9 (9)

MaverickStudio
Shopify Partner
101 32 34

Hey @theparmesan_don ,

Can you send over a link to your store? Also, include the password if you have one.

♥ If you found my solution helpful, please consider giving it a Like and marking it as the ✔ Accepted Solution


Try our WhatsApp Chat Button Widget with multipe agents.Supachat: WhatsApp Chat Button


A Product of Maverick Studio

theparmesan_don
Excursionist
20 1 7

commonorigin.xyz

pwd: disco

theparmesan_don
Excursionist
20 1 7

commonorigin.xyz

pwd: disco

 

site is not finished so please don't judge everything yet haha 🙂 thanks for your willingness to help! 

BSSCommerce-HDL
Shopify Partner
2079 738 930

Hi @theparmesan_don

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

<style>
.focus-none span {
    background-color: transparent !important;
}
</style>

Hope this can help you,

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

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

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

theparmesan_don
Excursionist
20 1 7

Screenshot 2024-07-27 at 1.58.29 PM.png

 

Unfortunately that did not work 😕

BSSCommerce-HDL
Shopify Partner
2079 738 930

This is an accepted solution.

Hi @theparmesan_don

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

<style>
body .focus-none span {
    background-color: transparent !important;
}
</style>

 

Here is result: 

BSSCommerceHDL_0-1722125759642.png

Hope this can help you,

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

 

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

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

theparmesan_don
Excursionist
20 1 7

It worked!! Thank you so so so so so much 🙂

PageFly-Amelia
Shopify Partner
535 157 223

Hi @theparmesan_don 

This is Amelia from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code. 

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file -> Save

 

.shopify-cleanslate span {

    background: inherit !important;

}

 

Hope that my solution works for you.

Best regards,

Amelia | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 
➜ Weekly updated Shopify tutorials on YouTube 


All features are available from Free plan. Live Chat Support is available 24/7.

theparmesan_don
Excursionist
20 1 7

Unfortunately that did not work, I still see it like this:

theparmesan_don_0-1722114029541.png