Support » Plugin: Brilliant Web-to-Lead for Salesforce » Styling "Success message after sending message"
3 years, 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.
Hmmm… you are correct — it’s definitely missing a wrapper div there.
In the widget you can use:
I’ll make sure to include that in the next release. For now you can patch the plugin (overwrite salesforce.php) with this code:
Thanks, Nick. Your code worked out perfectly for me. It now has the surrounding DIV with the class of ‘w2llead success’.
3 years, 7 months ago
Is there a way to not clear the form upon success?
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?
3 years, 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.
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:
Much obliged. 🙂