Joomla - Virtuemart - product_description doesn't take formatting

starhu
starhu used Ask the Experts™
on
Hello,

In the product flypage I set

      <tr>
        <td style="font-size:18px;">
              <?php echo $product_description ?> <br/>
         <span style="font-style: italic;"><?php echo $file_list ?></span>
        </td>
      </tr>

However it doesn't get the 18px because somehow VM puts the product_description in paragraphp like this:

<td style="font-size:18px;">
              <!--ML K--> <p>Rendelheto méretek:<br>2<br><br>20 DEN-es harisnyanadrág<br><br>Szín:<br>Black - Fekete</p> <br>
         <span style="font-style: italic;"></span>
        </td>

If I remove the <p> in FireBug, the font will get the correct size.

Can you help me in this ?

Thank you

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Panagiotis Sweb developer - designer

Commented:
any link ?
Panagiotis Sweb developer - designer

Commented:
its because you have  a <p> in the product description
and get this

body, p {
    font-family: "Times New Roman",Times,serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    line-height: 150%;
    margin: 1em 0;
}

Author

Commented:
The problem is that if I increase the font size in body, p, then everything will get bigger, even the left side menu.

Can I somehow set the product_description not to enclose it in <p>?
Or can I make another style *only* for product_description?
web developer - designer
Commented:
try #vmMainPage p{font-size:18px;}

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial