When the configurable is embedded in a notification email, is there any way to control the width of each column in that notification email?

  • Profile Image
    rkautz
    Asked on March 31, 2017 at 03: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.



    This is a re-post of a comment on How to Set Up the Configurable List Widget

  • Profile Image
    Nik_C
    Answered on March 31, 2017 at 05:39 AM

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

    td, input {

        width: 90px!important;

    }

    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!

  • Profile Image
    rkautz
    Answered 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!

  • Profile Image
    Nik_C
    Answered 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!