VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Snostar on March 29, 2013, 19:53:18 PM

Title: How to remove "Description" title on product details page
Post by: Snostar on March 29, 2013, 19:53:18 PM
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.
Title: Re: How to remove "Description" title on product details page
Post by: DPM on March 29, 2013, 21:48:08 PM
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;}
Title: Re: How to remove "Description" title on product details page
Post by: Snostar on April 02, 2013, 19:07:39 PM
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?