Jump to content

css in long description


Recommended Posts

Hi,

 

I wanted to add some rules in the way the long description product is displayed.

 

Such rules were :

- having table with border collapse (that means border of table and cells collapsed, or merged)

- having ul list with disc and not square

- having some words written in defined colours (such as violet, for instance)

 

To get such results, I added to the theme global.css file the following :

 

.mytable

{

border-collapse:collapse;

}

 

.disc {

list-style-type:disc;

}

 

.violet

{

color : #463D68;

}

 

Then, in the html code of the item long description, I added the related html code such as :

<table class="mytable">

<ul class="disc">

<p class="violet">test</p>

 

After saving :

- the two first above rules were ignored

- the third rule was taken into account

 

I wonder why and how to have the two first rules also taken into account.

 

I thank you in advance for any help in this matter.

 

Patrick

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...