Widgets alignment

  • Jeddah_Collage
    Asked on December 7, 2021 at 4:41 AM

    How can align widgets to the right using CSS code ?

  • Collin_S
    Replied on December 7, 2021 at 5:12 AM

    Hi,

    Thank you for contacting us, I will get back to you in a moment with the custom CSS for the widget.

    Thank you for your patience.


  • Collin_S
    Replied on December 7, 2021 at 5:54 AM

    Hi again,

    Thank you for your patience, here is the CSS that you can add under the widget properties, please see below:

    .list-item{

    text-align: right;

    }

    .after, .before{

    left: 20em !important;

    }

    .items-left{

    right: 30em;

    }


    This would need to go under the widget properties, please see below:

    1638874394 61af3d1ac3659 Capture4321 Screenshot 10

    Please let us know if you require any further assistance.

    Have an amazing day.

  • Jeddah_Collage
    Replied on December 7, 2021 at 7:52 AM

    Hi Collin_S

    Thanks for your time

    There is a problem when I use my mobile or smart phones

    the widget not appear like when I use PC


    also the other widget(conditions and terms) not appear in the right when I use smart phone



  • Patrick_R
    Replied on December 7, 2021 at 8:03 AM

    Hi there,

    I just checked your form on the mobile screen; following is how I see the widget:

    1638881989 61af5ac59700d  Screenshot 10

    If you're still facing issues at your end, please send us a screenshot of the issue. We'll check the issue and get back to you accordingly.

    Thank you!

  • Jeddah_Collage
    Replied on December 7, 2021 at 8:16 AM

    Now its look good because I delete the CSS code

    but the problem appear if I put this code:


    .list-item{

    text-align: right;

    }

    .after, .before{

    left: 20em !important;

    }

    .items-left{

    right: 30em;

    }


  • Durand_C
    Replied on December 7, 2021 at 8:25 AM

    Hi @ Jeddah_Collage,

    Thank you for contacting Jotform Support. We appreciate you reaching out.

    Allow us more time to look into your query. We’ll get back once we reach a resolution.

    Best regards,

    Durand

  • Durand_C
    Replied on December 7, 2021 at 9:21 AM

    Hi @ Jeddah_Collage,

    Thank you for your patience.

    I have a different option for you.

    I do not think using CSS codes are necessary.

    You have a conflict between the widget label and the widget body.

    So I will provide you the steps to resolve that:

    1-     In the Form Builder, please click on your Widget and select “Properties”

    1638886751 61af6d5f85028 widget properti Screenshot 10

    2-     Go to the Label Alignment option, in the Dropdown list,  please select “Top

    1638886815 61af6d9f8adfc label alignment Screenshot 21

    3-      To have the Widget list on the right, in the Align section, in the dropdown list, please select “Right”:

    1638886874 61af6dda0caa7 list align Screenshot 32

    And your list will be on the right.  

    Please contact us for any further information.

    Best regards,

    Durand