Is there a way to control width of column in notification mail?

  • rkautz
    Asked on March 31, 2017 at 3:51 AM

    When the configurable is embedded in a notification email, is there any way to control the width of each column in that notification email? Currently, in a five-column table, the first four are very narrow, and the fifth is very wide. I'd prefer that each column gets an equal 20% width.

  • Nik_C
    Replied on March 31, 2017 at 5:39 AM

    You can copy and paste the below CSS code in your Custom CSS field of the widget:

    td, input {

        width: 90px!important;

    }

    Is there a way to control width of column in notification mail? Image 1 Screenshot 20

    That will change the width of all columns, but still, the configurable list columns will depend on the input and that's how the width will change as well.

    I'm not sure if there is a way to make those fields with fixed size.

    On the other hand that might work for you since I'm not sure if you're using only text fields or some other ones as well.

    Let us know how it worked.

    Thank you!

  • rkautz
    Replied on March 31, 2017 at 11:21 AM

    Nik, looks like the !important declaration was all I needed to get it to format the email the way I wanted. Thanks for your help!

  • Nik_C
    Replied on March 31, 2017 at 12:31 PM

    I'm glad it worked. Yes, !important declaration is important if you want to override a CSS that is applied.

    Do not hesitate to contact us if you have any further questions please let us know.

    Thank you!