News:

Support the VirtueMart project and become a member

Main Menu

How to remove "Description" title on product details page

Started by Snostar, March 29, 2013, 19:53:18 PM

Previous topic - Next topic

Snostar

Can anyone tell me where and how to remove the default word "Description" as the description title on my product details page?  I am using Joomla 2.5, VM 2.0

I went into the default.php in the productdetails directory and took out THIS LINE:
   <span class="title"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DESC_TITLE') ?></span>
but that didn't work. 

Attached is an image with an oval around what I need to remove and the sample page is currently at:
http://www.joomla25.meadowsmedical.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=327&virtuemart_category_id=96&Itemid=557
Much thanks.

DPM

On line 12 of your CSS file (components/com_virtuemart/assets/css/vmsite-ltr.css) change display:block to display:none, like this:

before:
span.title{font-weight:700;display:block;border-bottom:solid #CAC9C9 1px;font-size:14px;margin:0 0 6px;}

after:
span.title{font-weight:700;display:none;border-bottom:solid #CAC9C9 1px;font-size:14px;margin:0 0 6px;}

Snostar

Thank you, I found the file and the line verysimply.

I made the change you suggested, but it didn't work.  Then I also changed the color to white (same as background), that didn't change anything.
Then I commented out the entire line, and nothing changed.

Any other suggestions?