WordPress.org

Ready to get started?Download WordPress

Forums

WordPress-to-lead for Salesforce CRM
[resolved] Replacing submit button with image (3 posts)

  1. AndyJJHW
    Member
    Posted 1 year ago #

    I want to replace the default grey submit button with an image. I can do this by adding a background image in the style sheet for .sidebar .w2linput.submit, however the cursor doesn't change when you hover over it (so it doesn't look like you can click it).

    By editing the salesforce.php, I tried replacing instances of input type="submit" with input type="image". This largely failed. The image showed up properly and the cursor changed in Chrome (though it came with a border I couldn't get rid of) but the image just didn't show up in Firefox or IE.

    Any ideas?

    http://wordpress.org/extend/plugins/salesforce-wordpress-to-lead/

  2. AndyJJHW
    Member
    Posted 1 year ago #

    As is usually the case, I post on a forum and then find a simple solution minutes later.

    Adding cursor: pointer to the .sidebar .w2linput.submit in the style sheet was all that was needed here.

  3. Nick Ciske
    Member
    Plugin Author

    Posted 1 year ago #

    Glad you figured it out!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic