VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Nexthought on August 16, 2016, 16:26:39 PM

Title: How to add color to product name and short destiption section ?
Post by: Nexthought on August 16, 2016, 16:26:39 PM
Hi, I would like to put colors in the product name and in the short description section for when I do a sale on an item so it sticks out more.
When I put the code in the name field, everything becomes messed up (see image) (https://homehardwaregmr.ca/images/breezingcommerce/products/original/Sans-titre.png)
When I try to add color the the short description, the whole description just disappears !
Also, Is there a plugin, or something else to help change the color in the main description instead of writting the code over and over in that field ?
Thank you very much !!!   ;D
Title: Re: How to add color to product name and short destiption section ?
Post by: Studio 42 on August 16, 2016, 20:40:44 PM
perhaps using a class ?
<div class="red">ma description en rouge</div>
and add in your CSS
.red{color:red}
Another way can perhaps to use single quote, if double quotes break your render.
<div class='red'>ma description en rouge</div>
Title: Re: How to add color to product name and short destiption section ?
Post by: Nexthought on August 17, 2016, 20:23:17 PM
I tried and it is not working  :-\
Title: Re: How to add color to product name and short destiption section ?
Post by: art4muslim on September 04, 2016, 12:11:56 PM
there is some thing misses in you html code.
check the html code and it will be fine or give me the page link and i will check it for you.