WordPress-to-lead for Salesforce CRM
[resolved] Restyling form LAYOUT (4 posts)

  1. Peeple
    Posted 3 years ago #


    I'm trying to restyle the layout from vertical to a two column layout. From what I can tell this is just a matter of taking out a few
    . Which .php do I edit?


  2. Nick Ciske
    Plugin Author

    Posted 3 years ago #

    You cannot at present. I suppose there should be a way to filter that output before it's displayed!

    I'll add that when I do a bug fix round this month (hopefully soon).

    For now, add this as line 702 in salesforce.php

    $content = apply_filters('salesforce_w2l_form', $content);

    It should go above:

    return $content;

    You can then add something like this to functions.php to remove any
    tags in the form and then use CSS for all your formatting.

    function custom_w2l_form( $content ){
    return str_replace('<br>','',$content);
  3. aswinnair
    Posted 2 years ago #

    How do I add a border line all around the form so that the form will be like inside a box?

  4. Nick Ciske
    Plugin Author

    Posted 2 years ago #

    Adjust CSS as needed.

    form.w2llead {
    border: 1px solid #999;
    padding: 20px;

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


No tags yet.