WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Peeple
    Member
    Posted 1 year ago #

    Hi,

    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?

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

  2. Nick Ciske
    Member
    Plugin Author

    Posted 1 year 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.

    add_filter('salesforce_w2l_form','custom_w2l_form');
    
    function custom_w2l_form( $content ){
    return str_replace('<br>','',$content);
    }
  3. aswinnair
    Member
    Posted 11 months 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
    Member
    Plugin Author

    Posted 11 months 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

About this Topic

Tags

No tags yet.