Is it possible to add an alternate button image for a hover state?

  • Profile Image
    australianturfclub
    Asked on August 27, 2015 at 09:49 PM

    I tried using CSS to create a red submit button however in IE8, the background colour was not displaying correctly. The best workaround I found was to use a button image instead. However it does not allow me to add an alternate image for when the user hovers over the button. Is it possible to add this functionality?

  • Profile Image
    Chriistian
    Answered on August 28, 2015 at 03:48 AM

    Hi, 

     

    Can you try to inject this custom CSS code in your form? Change the higlighted in red to the correct image URL you want to display upon hover.

    #input_21:hover img {

        content: url("http://www.domain.com/image.jpg");

    }

     

    To inject custom CSS code in your form, you can follow the instruction provided in this article: How to Inject Custom CSS Codes.

     

    Do let us know if you need further assistance.


    Regards.