How to Style $additional_fields_html Table

Discussion in 'Templates customization' started by alanpeto, Nov 20, 2010.

  1. alanpeto

    alanpeto New Member

    Joined:
    Dec 28, 2004
    Messages:
    29
    Hello all,

    Is there a way to stylize the tables/th/tr, etc. for "$additional_fields_html"?

    I'm able to add style for the visible code for tables in signup.html in templates, but when you get to the code for "$additional_fields_html", there seems to be no way to specify what the th/tr/td field styling can be (color, etc.).

    Am I missing where to add this?

    Thank you!
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    These fields are build automatically using code from add_field.inc.html template.
    But this template used for aMember CP -> Edit User as well. So if you will change it aMember CP will be affected. Try to make your modifications only if user is not an admin:
    {if !$smarty.session._amember_admin}
    class="class"
    {/if}

Share This Page