Image and transition CSS for submit button is not working?

  • stormingrobots
    Asked on February 28, 2018 at 11:12 PM

    form  80575786638171

     

    issue 1:  the submit button could not stay with the steel image  when I hover, but the reset button is ok. Please advise. 

    #input_80, #input_reset_80 {

        background-image : url("/images/steel.png");

       }

     

    issue 2: transition for glow on hover does not work either. 

    #input_80:hover {

        transition : all 0.2s ease-in-out;

    }

    Issue 3: 

    This is probably similar to Issue 1. 

    form  80575786638171

    I tried the embedded script generated :

    - Embedded Platform

    - Dreamweaver 

    I had similar issue: 

    1519878006junk Screenshot 10

     

    Please advise. 




  • Nik_C
    Replied on March 1, 2018 at 4:10 AM

    Please allow me some time to check this issue and I will get back to you.

    Thank you!

  • Nik_C
    Replied on March 1, 2018 at 4:38 AM

    1) Regarding the issue of color changing to orange on hover, please insert this CSS to your Custom CSS Field:

    #input_80:hover{

      background-color:transparent!important;

    }

    #input_80 {

        background-color: transparent!important;

    }

    That will fix the issue:

    1519896982screencast Screenshot 10

    Regarding 2) and 3) could you please elaborate more if the issue persists since I'm not sure?

    Thank you!

  • stormingrobots
    Replied on March 1, 2018 at 5:47 AM

    Thank you for the prompt assistance. 

    I want to leave the steel look on hover and glow as well, so I did :


    #input_80, #input_reset_80 {

        background-image : url("/images/steel.png")!important;

    }


    #input_80:hover {

        transition : all 0.2s ease-in-out;

        background-image : url("/images/steel.png");

        box-shadow: 0 15px 15px rgba(255,255,255, .4);

    }

    But it does not do the trick. 



  • Adrian
    Replied on March 1, 2018 at 8:40 AM

    I have changed the CSS to your form to:

    button#input_80:hover {

        transition : all 0.2s ease-in-out !important;

        background-image : url("/images/steel.png") !important;

        box-shadow : 0 15px 15px rgba(255,255,255, .4) !important;

    }

    Basically, I just changed the selector from #input_80:hover to button#input_80:hover and added !important after every CSS rule.

    The button glow should be working now.

    1519911582glow Screenshot 10

    Let us know if you need further help.

  • stormingrobots
    Replied on March 1, 2018 at 11:53 PM

    thank you!