how to increase the size of the 'short description' textarea in admin 'edit product details'

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 năm cách đây
i would like to show more rows and make it as wide as the text edito below it

can anyone help, i'm wading through the code but am completely unable to see where i would do this in this one place

thanks in advance
11 năm cách đây
Nop.Admin/Views/Product/_CreateOrUpdate.cshtml

Find

@Html.TextAreaFor(model => model.Locales[item].ShortDescription)


and replace with

@Html.TextAreaFor(model => model.Locales[item].ShortDescription, new { @cols = 80, @rows = 10 })


Change the value for columns and rows as needed.
11 năm cách đây
hi, thanks - i see in 2.80 the style can be changed as easily - :-)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.