VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: blondie63 on June 10, 2019, 18:52:03 PM

Title: how to hide label "description"
Post by: blondie63 on June 10, 2019, 18:52:03 PM
I'm using last 3.4.2 with default template
On product detail page i've this fields:
Product Name
Images
a label "Description"
description content

How can i hide this label ?
(https://i.postimg.cc/vTkJ6drS/virtue-label.png)

Thanks for help
Title: Re: how to hide label "description"
Post by: Jörgen on June 10, 2019, 19:17:52 PM
Add css

.product-description.title {
display: none;
}


Jörgen @ Kreativ Fotografi
Title: Re: how to hide label "description"
Post by: blondie63 on June 11, 2019, 09:17:22 AM
sorry i'm new on VM, where i need to put this css ?

Thanks

Regards
Title: Re: how to hide label "description"
Post by: jenkinhill on June 11, 2019, 11:26:13 AM
Add it to the end of your template's cutom.css file (if it has one) or to the end on your template's general.css - again if it has one. Alternatively, you can create a css override file. The current doc for this refers to VM2 but the principles are the same.  http://docs.virtuemart.net/tutorials/templating-layouts/106-override-vmsite-ltr-css.html
Title: Re: how to hide label "description"
Post by: blondie63 on June 11, 2019, 14:48:34 PM
I've tried to put it in custom.css and also creating files \templates\mytemplate\css\vmsite-ltr.css
But it does'nt works..
Title: Re: how to hide label "description"
Post by: jenkinhill on June 11, 2019, 16:18:14 PM
Use


.product-description .title {
display:none;
}


No space after description.   There was a typo
Title: Re: how to hide label "description"
Post by: blondie63 on June 11, 2019, 18:40:38 PM
ok, adding a space it works fine
thanks