Jump to content

<ul> and <li> tags problem in product description PS 1.7.2.4


ToyLover

Recommended Posts

I'm using PS 1.7.2.4 and I have a problem with html tags <ul> and <li>.
When creating a list of items using the "bulleted list" button in the text editor, if I choose the option "by default" the code looks something like this:

<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>

Which should make the bullet points look like this:

  • Item 1
  • Item 2
  • Item 3

 

The problem is that in the front office, the bullet points are not displayed, despite the code being correctly written, it only shows the text alone.

In order to make the bullet points "appear" correctly, I have to give the <ul> a "style" (circle, disc, square, etc) so that the code looks like this:

<ul style="list-style-type: disc;">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>

It should display the bullet points correctly in both cases, however it doesn't.
My big problem is that I'm importing a huge list of products from 1.6, and all the products contain "bulleted lists" written with the basic format of <ul> and <li> and non of the lists are being displayed.
Has anyone noticed this? Is there a way to make the html code display the bullet points without having to give the <ul> an specific "style" ?

Thx

Link to comment
Share on other sites

  • 2 weeks later...
  • 11 months later...

There is a "standard style" on element UL defined in classic theme with list-style:none. As you can't remove it without affecting the theme massivly I fear your only option is to define the style or a custom class yourself

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...