• Resolved kiatlc

    (@kiatlc)


    When someone submit a form, I will receive a report email carrying the data filled in.

    But the left column containing the question is too narrow, so i checked the html code and foud the following css code:

    <td style=”padding: 0.3em 1em; border-bottom:1px dotted #ddd; padding-right:2em; color:#888; width:1%;”>

    If I want to customise this code, which file should I look into?

    https://wordpress.org/plugins/cforms2/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bgermann

    (@bgermann)

    You can customize it in the database. The cforms_settings WordPress option is an array, which contains the css at index ['global']['cforms_style']['key_td'].

    Thread Starter kiatlc

    (@kiatlc)

    What dou you mean?

    You mean it cannot be customised in php file, but have to go to WordPress database to change it?

    Could you please list down the steps to make it happen? I am quite newbie in phpmyadmin

    siyecao

    (@siyecao)

    Can you please justify which part?which file?contain in which folder? is it under PhpAdmin?coz i can’t find any cform_setting in the phpadmin

    Please advice

    Plugin Author bgermann

    (@bgermann)

    You look for a table called wp_options by default. You search that table for the option_name cforms_settings. The SQL to print out its value is select option_value from wp_options where option_name='cforms_settings';. The value is a PHP serialized array, which you have to take care of when changing the [‘global’][‘cforms_style’][‘key_td’] value.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Admin email css where to customise?’ is closed to new replies.