i have joomla 3, virtuemart 3. the problem I am having is in a row of 4 categories the first title is showing as h1 and the rest are h2. I would like the first to be h2 but I can't find how to do it. Shouldn't they all be the same? I have attache an image of what I mean. adding images for the categories doesn't change it.
That does not happen in VM3.0.10 with defualt VM templates. http://forum.virtuemart.net/index.php?topic=128401.0
I am using commercial template destiny fx
Sent from my iPhone using Tapatalk
http://forum.virtuemart.net/index.php?topic=108212.0
I am using virtuemart 3.0.10 my template provider say this
"This is not a template related question. I mean, the Header tags in Virtuemart are not dependent of the template. Just for test, please set Protostar as your default template and you will see that the VM Headers are still H1.
The Header Tags in Virtuemart are hardcoded in the VM template files. You need to edit those files. But the best thing is to open a new Discussion in the VM forum and ask them which files exactly you should edit."
Is there any help you can give me please
Sent from my iPhone using Tapatalk
as Jenks says this simply doesn't happen on a std. install
http://demo.virtuemart.net/
Any suggestions? Should I reinstall? I can't use default VM template as it is on an existing site
Sent from my iPhone using Tapatalk
It can't be that complicated... just dig in the code to see what's happening
The template that I use (DestinyFX) does not contain any VM styling. It does not come with any VM template overrides or CSS. Therefore it uses the default VM templates/view files and CSS. Please let me know which VM file I should modify (and create a template override for) in order to change the H1 tag to H2. It is totally template independent, the same issue is reproducible with the default Joomla 3 template - Protostar
you must have some styling plugin operating on it
the code in the std template components\com_virtuemart\sublayouts\categories.php is a hard coded h2
// Show Category ?>
<div class="category floatleft<?php echo $category_cellwidth . $show_vertical_separator ?>">
<div class="spacer">
<h2>
<a href="<?php echo $caturl ?>" title="<?php echo vmText::_($category->category_name) ?>">
<?php echo vmText::_($category->category_name) ?>
<br />
<?php // if ($category->ids) {
echo $category->images[0]->displayMediaThumb("",false);
//} ?>
</a>
</h2>
</div>
</div>