Appnitro Software Forums » MachForm 2

Centering input fields


  1. crazymach
    Member

    How to center the input fields on the form?

    I have centered the text, but the fields, like the name and phone inputs do not center.

    Suggestion: If you had a manual or a visual chart to help explain where to adjust in the css for the desired effect by area, it would be awesome.

    Thank you!

    Posted 8 months ago #
  2. redityo

    for group fields like name/phone require small customization on view-functions.php file indeed. Try to follow these steps :

    1. Edit the file and go to line 268 and 690 . You will see span tag

    <span>

    Then change it to

    <span id="span_{$element->id}_1">

    2. For example your name/phone element id is 2, then you can put this css code into your form css

    #span_2_1 {
    padding-left:35% !important;
    }

    that would do it


    MachForm Support

    Posted 8 months ago #

RSS feed for this topic

Reply