Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Problem Images Plugin

Discussion in 'Misc WordPress Requests' started by cubecolour, Dec 17, 2017.

  1. cubecolour

    Guest

    Reply To: Problem Images Plugin, by cubecolour

    All support should take place on the forums and it is against the forum guidelines to post email addresses here so I’m afraid I have had to remove your last post.

    It looks like it should be a simple fix to preload the hover images, however I have not been able to test this.

    Look in the code for where the CSS to add each image is defined

    eg

    #i-btn-1 .st {
    background: url('http://irinasopas.com/wp-content/plugins/irina-buttons/inc/textos/Postit-Artigos-Preto.png') center no-repeat;
    }

    add the hover state image as an additional background before the standard image

    #i-btn-1 .st {
    background: url('http://irinasopas.com/wp-content/plugins/irina-buttons/inc/textos/Postit-Artigos-Branco.png') center no-repeat;
    background: url('http://irinasopas.com/wp-content/plugins/irina-buttons/inc/textos/Postit-Artigos-Preto.png') center no-repeat;
    }

    Do this for each image and the hover images should be preloaded to prevent the fickering.

    Reply To: Problem Images Plugin
     
    #1

Share This Page

Monarch Social Sharing Plugin