News:

Support the VirtueMart project and become a member

Main Menu

how to remove the category label in the frontpage of VM?

Started by esanchez1091, July 03, 2012, 03:36:47 AM

Previous topic - Next topic

esanchez1091

HI, Everyone

this was a very easy thing to do in VirtueMart 1.9 i would to know if someone can guide me to remove the label Categories in the frontend of VirtueMart 2.0.8 but the structure is very different on the latest version..

thanks


Rajiii4u

#1
.category-view .row .category .spacer h2 a{ font-size:0px; }

css overwrite...
--Rajiii4u...

srajca

@esanchez1091
are you trying to remove title, or name or categories? If the first two, then use the solution stated above - css override

esanchez1091

#3
i found a simple solution for this using VirtueMart 2.0.12b (stable)



www.yoursite.com/components/com_virtuemart/assets/css/vmsite-ltr.css

go to line 55 and change this line of code .category-view h4{font-size:14px;margin:0;padding:0;}

to the following .category-view h4{font-size:14px;margin:0;padding:0; display:none;}

this remove the label in virtuemart frontpage.

PRO




views/virtuemart/tmple/default_categories.php

REMOVE
    <h4><?php echo JText::_('COM_VIRTUEMART_CATEGORIES') ?></h4>

BUT do a template override
http://forum.virtuemart.net/index.php?topic=90935.0