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

  1. AndyJJHW
    Posted 3 years 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?


  2. AndyJJHW
    Posted 3 years 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
    Plugin Author

    Posted 3 years ago #

    Glad you figured it out!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress-to-lead for Salesforce CRM
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic