How To Add Shine Effect Animation To All Buttons In Shopify

How To Add Shine Effect Animation To All Buttons In Shopify

Want to add a touch of glamour to your Shopify store? This tutorial will show you how to create a stunning shine effect animation for all your buttons. Not only will this enhance the visual appeal of your store, but it will also draw attention to your call-to-action buttons and encourage more clicks. No coding skills are required!

Benefits:

  • Enhanced Visual Appeal: Improve the overall look and feel of your Shopify store.
  • Increased Engagement: Capture attention and encourage more clicks on your buttons.
  • Professional Touch: Give your store a more polished and professional appearance.
/************* Shine Effect **************/


.button,.shopify-payment-button__button { 
 
background-color: black !important; 
color: white !important; 
box-shadow: none; 
position: relative; 
z-index: 1; 
overflow: hidden; 
 
}  
.button::before,
.button::after,
.button::hover, .shopify-payment-button__button::before, .shopify-payment-button__button::after, .shopify-payment-button__button::hover {
box-shadow: none !important; 
}  
.button:hover, .shopify-payment-button__button:hover { 
transform: none !important; transition: none !important; 
}  
 
@keyframes shine { 
to {
left: 100%; 
}
}  
#MainContent .button::after, .shopify-payment-button__button::after { 
z-index: -1 !important; 
position: absolute; 
top: 0 !important; 
left: -100%; 
width: 100% !important; 
height: 100% !important; 
transform: skew(-15deg) !important; 
--border-opacity: none; 
background-image: linear-gradient( 
90deg, 
transparent, 
rgba(255, 255, 255, 0.25), 
transparent 
) !important; 
}  
.button:hover::after, .shopify-payment-button__button:hover::after {
animation: shine 1s ease; 
}

Tags:

#Shopify #ShopifyTutorial #ButtonAnimation #ShineEffect #WebDesign #Ecommerce #UIUX #DesignTips