Viewing 1 replies (of 1 total)
  • Hello there,

    Thank you for writing in.

    To have the changes as you like please open the plugin file wp-content/plugins/ultimate-form-builder-lite/classes/ufbl-lib.php

    Then, in line no.346, you will see the following codes. Add “text-align:right;” there as below:

    $fields_html .= ‘<tr style=”background-color:#eee;”><td style=”width:150px;border:1px solid #D54E21; text-align:right;” >‘ . $field_label . ‘:</td> <td style=”border:1px solid #D54E21; text-align:right;“>’ . $val[‘value’] . ‘</td><tr>’;

    In line no.348, you will see the following codes. Add “text-align:right;” there as below:

    $fields_html .= ‘<tr><td style=”width:150px;border:1px solid #D54E21; text-align:right;” >‘ . $field_label . ‘:</td> <td style=”border:1px solid #D54E21; text-align:right;“>’ . $val[‘value’] . ‘</td><tr>’;

    In line no.354, you will see the following codes. Change “align:center;” to “align:right;” there as below:
    <table style=”border:1px solid #D54E21″ cellspacing=”0″ cellpadding=”10″ align=”right” style=”width:600px; “>

    In line no.355, you will see the following codes. Change “text-align:center;” to “text-align:right;” there as below:

    <tr><td colspan=”2″ style=”text-align:right;“><h2>’ . $form_title . ‘</h2></td></tr>

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Direction rtl in thr outpot form tablr’ is closed to new replies.