Removing highlight animations from buttons.

Removing highlight animations from buttons.

humbledryer
New Member
4 0 0

Whenever I select an item on the dropdown on mobile the area around it is highlighted.

I want to remove the animation and just have it plain. You can only see it when taping on a mobile or touch-screen device.

 

I’m using Dawn.

 

https://anno.capetown/

Replies 6 (6)

PageFly-Richard
Shopify Partner
4668 1069 1726

Hi @humbledryer 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.button:focus-visible, .button:focus, .button.focused, .shopify-payment-button__button--unbranded:focus-visible, .shopify-payment-button [role=button]:focus-visible, .shopify-payment-button__button--unbranded:focus, .shopify-payment-button [role=button]:focus {
    outline: unset !important;
    box-shadow: unset !important;
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Richard | 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) 


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

AnneLuo
Shopify Partner
962 180 205

Hi, @humbledryer 

Which page does this problem occur on? Can you send a screenshot?

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

BSSCommerce-B2B
Shopify Partner
1747 532 592

HI @humbledryer , 

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

 

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

BSSCommerceB2B_0-1726013764614.png

 

 

Step 2: Search for the file base.css. And add this code snippet to the end of the file.

 

 

@media only screen and (max-width: 768px) {
  .menu-drawer__menu-item--active, .menu-drawer__menu-item:focus, .menu-drawer__close-button:focus, .menu-drawer__menu-item:hover, .menu-drawer__close-button:hover {
    background-color: transparent !important;
  }
}

 

 

Step 3: Save and reload home page.

=>> The result: 

BSSCommerceB2B_2-1726013808855.png

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

humbledryer
New Member
4 0 0

Thank you. that takes away the grey when it’s selected but it doesn’t take away the grey animation when I tap on it. I also want it to take the tapping animation.

GTLOfficial
Shopify Partner
554 120 109

HEllo @humbledryer 
Go to online store ----> themes ----> actions ----> edit code---->base.css
add this code at the end of the file.

.link--text {
background: white !important;
}

result
2.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: [email protected] - Skype: ritesh_27dh
humbledryer
New Member
4 0 0

Thanks, I am also trying to remove the tapping animation when I use a phone or tablet.