How can I change button hover animation in Dawn 12.0?

How can I change button hover animation in Dawn 12.0?

Vari41
Tourist
14 0 2

Hello,

im having trouble with changing hover animation effect on buttons on my website www.shmrnc.cz (pass: linh). 

 

Do you guys please have any idea how to change the hover animations to have the similar/effect as is on this website www.dmp.cz (or at least to change colors+border without the current effect of making the border thicker)? 

 

Thank you very much!! 

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
10051 2391 3018

Hi @Vari41 

Your website cannot be reach. Can you share the preview? 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.
Vari41
Tourist
14 0 2

The website should be opened now without required password, however i recorded my screen -> the first website is mine (www.shmrnc.cz), the second is someone elses (www.dmp.cz) to show what effect i would prefer. 

Made4uo-Ribe
Shopify Partner
10051 2391 3018

Thanks for the info,

This is least I  can do. I cant see the animation of the example buttons that you provide. But it can be done exaxtly with the developer. Let us know. For the mean time check the design below. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

 

.button, button.button--primary {
    border: 2px solid #ffb6c1;
    text-transform: none;
    letter-spacing: .1em;
    -webkit-transition: all .75s;
    -moz-transition: all .75s;
    transition: all .75s;
    overflow: hidden;
    z-index: 0;
}
.button:hover {
    color: black;
    border: 2px solid red;
    background: pink;
    opacity: .7;
}
.button:after {
    content: "";
    position: absolute;
    z-index: -1;.button, button.button--primary {
    border: 2px solid #ffb6c1;
    text-transform: none;
    letter-spacing: .1em;
    -webkit-transition: all .75s;
    -moz-transition: all .75s;
    transition: all .75s;
    overflow: hidden;
    z-index: 0;
}

 

 

  • And Save. 
  • result:
  • Made4uoRibe_0-1699829253025.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.