How to customize the text alignment of a PDF document

  • armencpr
    Asked on March 18, 2025 at 12:28 AM
    However, the name and date is not centered in Form 2. Is there a way I can have the name centered in form 2?
  • Israel JotForm Support
    Replied on March 18, 2025 at 12:37 AM

    Hi Armen,

    I understand the issue, but I’ll need a bit of time to work out a solution. I’ll get back to you shortly.

    We really appreciate your patience and understanding while we’re looking into this.

  • Israel JotForm Support
    Replied on March 18, 2025 at 12:48 AM

    Hi Armen,

    You can easily have centre-aligned the Name and Date fields. Let me show you how to do it:

    1. First, copy this code:

    [data-css-selector="id_4"] {
    left : 180px;
    }
    [data-css-selector="id_9"] {
    left : 180px;
    }

    2. Click on the paint roller icon on the top right of the page.

    3. Then, click on Styles.

    4. Then, paste it into Inject Custom CSS and that's it.

    How to customize the text alignment of a PDF document Image 1 Screenshot 20

    Here's the cloned version of the form that you can test. We also have a guide on How to Inject Custom CSS Codes that you can check out.

    Give it a try and let us know if you need any help.

  • armencpr
    Replied on March 18, 2025 at 8:52 AM

    I'm not trying to center the text on the form. I'm trying to center the text on the PDF document. See the attached pic.How to customize the text alignment of a PDF document Image 1 Screenshot 20

  • Shaina JotForm Support
    Replied on March 18, 2025 at 11:45 AM

    Hi Armen,

    You can customize the text alignment of the data transferred to your PDF document. Let me show you how:

    1. In Smart PDF Forms, click the Settings on the blue navigation bar in the upper part of the page.
    2. Click on Form Settings option in the left part of the page.
    3. Click on Customize Style, and it will lead you to a new tab for PDF Editor.

    How to customize the text alignment of a PDF document Image 1 Screenshot 30

    4. In PDF Editor, Click on the Roller Paint icon in the right part of the page.
    5. In Original PDF Settings you can modify the Text Alignment that you prefer.
    6. Click on Apply Changes.

    How to customize the text alignment of a PDF document Image 2 Screenshot 41

    For more details on how to change the answer style in the original PDF document, you can refer to this guide.

    Give it a try and let us know how it goes.