News:

Support the VirtueMart project and become a member

Main Menu

How to make price styling BOLD?

Started by tzic, April 03, 2012, 14:01:21 PM

Previous topic - Next topic

tzic

Hello, I am trying to make price show in bold Is there an easy way to do it? Inspecting the webpage with firebug I found that the class used is PricesalesPrice
but I cant find it in any css file in order to edit it?

span class="PricesalesPrice"

PixelZombie

Just add it to your vm css file (eg. vmsite-ltr.css)

.PricesalesPrice {
    font-weight: bold;
}

tzic

#2
Well, thank you for the reply, I'll give it a try!

<div class="PricesalesPrice" style="display : block;">
Τιμή πώλησης:
<span class="PricesalesPrice">50,72 €</span>
</div>


The problem is that because the div class is the same with the span class, everything becomes bold not only the numbers

Sales price: 66,66

Any ideas on how to solve this?

Edit: Solved:

span.PricesalesPrice  {
text-decoration: line-through; }