WordPress.org

Ready to get started?Download WordPress

Forums

WordPress-to-lead for Salesforce CRM
[resolved] Styling "Success message after sending message" (8 posts)

  1. kdubya16
    Member
    Posted 9 months ago #

    Is there any way to style the messages that appear once someone submits the form?

    More specifically the 'Success message after sending message'. There doesn't seem to be any class or ID tied to the paragraph tag in the CSS that is provided.

    Thanks

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

  2. Nick Ciske
    Member
    Plugin Author

    Posted 9 months ago #

    Hmmm... you are correct -- it's definitely missing a wrapper div there.

    In the widget you can use:
    .widget-container.salesforce

    I'll make sure to include that in the next release. For now you can patch the plugin (overwrite salesforce.php) with this code:

    https://raw.github.com/nciske/salesforce-wordpress-to-lead/master/salesforce.php

  3. kdubya16
    Member
    Posted 9 months ago #

    Thanks, Nick. Your code worked out perfectly for me. It now has the surrounding DIV with the class of 'w2llead success'.

    Thanks again!

  4. lsdoodle
    Member
    Posted 6 months ago #

    Is there a way to not clear the form upon success?

  5. Nick Ciske
    Member
    Plugin Author

    Posted 6 months ago #

    Please create a new thread when asking a new question.

    I'm not sure what you're asking or why you'd want to do that. Can you create a new thread with some more details?

  6. PixelsCode
    Member
    Posted 4 months ago #

    Ok, this is still not working.

    I've copied that code into the plugin folder, yet I still get the success message appearing in just a simple <strong> tag, which is in no way semantic enough for me to style with any confidence.

  7. Nick Ciske
    Member
    Plugin Author

    Posted 4 months ago #

    2.2beta has a wrapper for all output that should meet your needs.

    Grab it from here and let me know if that'll work for you:
    https://github.com/nciske/salesforce-wordpress-to-lead

  8. PixelsCode
    Member
    Posted 4 months ago #

    Much obliged. :)

Reply

You must log in to post.

About this Plugin

About this Topic