News:

Looking for documentation? Take a look on our wiki

Main Menu

How to edit the online shop homepage template?

Started by foo-wing.li, June 25, 2013, 13:30:03 PM

Previous topic - Next topic

foo-wing.li

Hi,

I am using VM 2.0 and Joomla 2.5 and I am having trouble locating the VM homepage component. Normally this would be located in one of the template folders but I can't find and work out which one.

Can someone please tell me where it is?

All I want to do is changge the Catergories title <h2> tag to a <h1> tag and the Featured Products title <h4> tag to a <h2> tag on the store front.

Or where is the "Layout for your home page" default.php file? Or how can I make my own "Layout for your home page"?

Thanks

foo-wing.li

#1
Ok I have found out myself how to edit the VM "Home Page" product "Categories" title tag from a <h2> to a <h1>.
Solution
The file is located components/com_vitruemart/views/virtuemart/default_categories.php.

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

foo-wing.li

#3
Thanks Jenkinhill I never knew that I have to do template overrides. This does make sense but it is a bit of hassle. I haven't tried to do template overrides yet but I will give it a go.

What about the stylesheets? Do I have to worry about modifying the CSS file for VM and placing this into the overrides folder? Or should I just use my template css files to override VM stylesheet?

Thanks again

jenkinhill

Add css overrides to your Joomla template css or make a custom.css file & add a link to that file into your Joomla template's index.php
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum