How To Groom Your Dog At Home

Favourites Create PDF Email Print

How To Remove Big Gap Between Shop Description And Categories In VirtueMart

Author:
technojoom
Hits:
1242
Rating:
 
Vote for this:
Good - Bad
favoured:
0 Favour

Answer

Component : VirtueMart 1.1.2, 1.1.3

For some sites, you may have noticed the big 'gap' between the Shop Description (under 'Edit Store' item) and the Categories heading plus the category images. This can be quite disconcerting.

To remove the gap, do this.

  1. Go to yoursite/components/com_virtuemart/themes/default/templates/common/shopIndex.tpl.php
  2. There are two breaks which you need to remove. From this..
  3. echo $vendor_store_desc."<br />";
    echo "<br /><h4>".$VM_LANG->_('PHPSHOP_CATEGORIES')."</h4>";
  4. To this...
  5. echo $vendor_store_desc."";
    echo "<h4>".$VM_LANG->_('PHPSHOP_CATEGORIES')."</h4>";
  6. Save the file

 


SITE NOTE: To display the HTML tags on JoomlaFAQs, there is a space between the name of the tags and the enclosing "less than" (<) and "more than" (>) brackets. If you copy the code, make sure you delete the spaces to make it work!

If you have found this site to be useful and has helped you, kindly consider to donate. Your donation will encourage me and help to upkeep JoomlaFAQs.org! Cheers!





Category

VirtueMart

Tags for this item

VirtueMart

Add comment


Security code
Refresh