How can i make short-description display as a list?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 Jahre weitere
Hello

I just want to know who can i make short description display as a bullet-list, instead off a paragraph?

I am using nopcommerce 3.30
Them: Powerhub

Thank you
10 Jahre weitere
Just put html in your product's Short Description field -e.g.

<ul style="text-align:left; padding:0; margin-top: 0; margin-left: 15px;">
<li>Organic</li>
<li>Fresh fragrance</li>
<li>No residue</li>
</ul>
10 Jahre weitere
this will bein the style.css or html file?
10 Jahre weitere
In Admin, edit a product.  Just paste the html into the Short Description field.
10 Jahre weitere
Ok, thank You
10 Jahre weitere
Thank You it work :),

now how can i make the product short description to expand so it can show all the information in the description box when client is looking at the grid or list in the catalog view?.
9 Jahre weitere
How can edit to auto set-up list-style like in full description?
9 Jahre weitere
"auto set-up"???  Would you explain more what you're trying to do?
9 Jahre weitere
Example:
I paste content in short description of admin section:

this is paragraph 1
this is paragraph 2
this is paragraph 3
this is paragraph 4


Resut in front of Short Description will styling list type


1. this is paragraph 1
2. this is paragraph 2
3. this is paragraph 3
4. this is paragraph 4
9 Jahre weitere
ngtrian wrote:
Example:
I paste content in short description of admin section:

this is paragraph 1
this is paragraph 2
this is paragraph 3
this is paragraph 4


Resut in front of Short Description will styling list type


1. this is paragraph 1
2. this is paragraph 2
3. this is paragraph 3
4. this is paragraph 4


Hi,

You can do it by following steps:

- Open the "Nop.Admin/Views/Product/_CreateOrUpdate.Info.cshtml" file
- Modify following line of code:
ORIGINAL

@Html.TextAreaFor(model => model.Locales[item].ShortDescription, new { style = "Width: 250px; Height: 150px;" })

MODIFIED

@Html.EditorFor(model => model.Locales[item].ShortDescription, "RichEditor")

Hope this help :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.