Align Subheader Text

  • Lachen_David
    Asked on May 28, 2025 at 1:10 PM

    Can someone take a look at tis form.

    Cannot seem to get the each line of the sub header to align up with each other. I want the sub header centered but each line perfectly aligned.

    https://www.jotform.com/build/251377842384162/designn

    Align Subheader Text Image 1 Screenshot 20

  • Leona JotForm Support
    Replied on May 28, 2025 at 1:50 PM

    Hi David,

    Thanks for reaching out to Jotform Support. If you’re aiming to have your sub-header text aligned neatly on both the left and right edges, I recommend using text-align: justify; instead of center. This will make sure that each line stretches uniformly across the container, giving a clean and professional look especially helpful for multi-line sub-headers. Here’s how to do it:

    /* ========== SUBHEADERS ========== */
    .form-subHeader {
        font-size : 14.9px !important;
        font-weight : 400 !important;
        color : #2E5F82 !important;
        margin: 5px 30px !important;
        line-height : 1.6 !important;
        text-align : justify !important;


    Your form will look like this:Align Subheader Text Image 1 Screenshot 20

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

Your Reply