Changing width of the autofill field

OK I say Uncle! After looking for hours on the forums I can’t get the width changed for the ACCOUNT NAME auto fill/complete field, specifically under the CASES module. It’s way too short and we have business names that are quite long. For example, we have a company called The Glass Bottling Company of Nevada Inc., the field only shows The Glass Bottling Compa. Obviously that doesn’t look great. How for the love of Murgatroyd do I change the width so the entire name will show? I’ve tried changing the vardefs and style sheets and everything else without luck. Again, thanks in advance.

Hi lle,

To change the width of the Account Name field size, edit the style.css within the Suite7 theme.

Add to the file the following code:



input[name="account_name"]{
    min-width: {yourwidth}px !important;
}

Alternatively, if you wish to do it as a percentage:



input[name="account_name"]{
    min-width: {yourwidth}% !important;
}

Thanks,

Will.

Works like a charm. FYI for others, when copying and pasting the code look for extra line breaks and spaces in the code. Thanks Will!

I’m not sure how Suite references the stylesheet but my changes were not taking effect even after doing a repair and restarting httpd. I had to rename the stylesheet to something else, log back into Suite with no style, then rename the stylesheet back to the original name before the changes would take effect. Occasionally even after I renamed the css file it was still using referencing the css file. Obviously it’s cached somewhere. If someone has an easier way please let me know.

Hi lle,

Do you have developer mode on and do you have the recommended permissions set? You should be able to make changes to the SuiteCRM CSS without error.

Thanks,

Will.

How can we change this (autocomplete width) in version 7.7.9 ty