Support » Plugin: Brilliant Web-to-Lead for Salesforce » Restyling form LAYOUT

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    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.

    add_filter('salesforce_w2l_form','custom_w2l_form');
    
    function custom_w2l_form( $content ){
    return str_replace('<br>','',$content);
    }
    aswinnair

    (@aswinnair)

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

    Plugin Author Nick Ciske

    (@nickciske)

    Adjust CSS as needed.

    form.w2llead {
    border: 1px solid #999;
    padding: 20px;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Restyling form LAYOUT’ is closed to new replies.