News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Does anybody know how to add unordered lists with bullets into vmsite-ltr.css

Started by jjk, May 09, 2012, 18:10:26 PM

Previous topic - Next topic

jjk

In the product details description I need a nice display of unordered lists with bullets or discs like this:

Features:

  • Feature 1
  • Feature 2
  • Feature 3

But with my limited knowledge of CSS I just don't manage to add the required css to vmsite-ltr.css in a way that works.
Any ideas?  ;)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

PRO




views/productdetails/tmpl/default.php

Change this

<?php echo $this->product->product_desc ?>


to this
<div class="pdesc">
<?php echo $this->product->product_desc ?>
</div>


THEN,. this is the CSS

.pdesc li {
    list-style-type: disc;
}





ALSO:

IM MY template, I have the whole body set to NO style.

SO, I have to do mine like this below, to add it back to certain areas


#firefight .pdesc li, #firefight .item-page li {
    list-style-type: disc;
}

WHERE    #firefight is the body ID.


jjk

Turned out that (in my special case) the best working solution was to add a few '.product-description' to my template.css
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations