× Discussion about "eCommerce" VirtueMart/Joomla template

Topic-icon Where to Change Header H2 Tag?

More
4 years 6 months ago - 4 years 6 months ago #34886 by DukeURL
Hello,

I would like to change the H2 header tag to H1 and the H3 tags to H2. Where do I do that in the eCommerce template? I look ed in the index.php page in the template area but they were not there...

Thanks,

DukeURL
Last edit: 4 years 6 months ago by DukeURL. Reason: added index.php page info

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #34895 by ivan.milic
You can change our template layout overrides:
templates\hot_ecommerce\html\
but there you have tags from joomla and many more from vm.

If you would just edit files under:
components\com_virtuemart\views\
next vm updates would probably erase your changes. So you can just override all vm views but be careful not to overwrite overrides we already put.

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #34901 by DukeURL
I looked in all of the html files and cannot find where to change <h2 to <h1 ...

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #34906 by ivan.milic
.php files you need to look in.

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago - 4 years 6 months ago #34908 by DukeURL
Hello,

To recap, I want to change Joomla template's <h2> to <h1> and <h3> to <h2>. In /templates/hot_ecommerce/html/modules.php, I found this code:

echo "<h3><span>".$hot_module_title[0]."</span>";

So, is that where I change the <h3> to <h2>? Also, I still cannot find where the Joomla template's <h2> tag is. Would you please tell me what file it is in? I did a search of the entire directory and did not find a <h2> tag for the Joomla template, only <h2> tags for Virtuemart...

P.S. I have searched for the code in .php files four times now and I still cannot find it...

Thanks,

DukeURL
Last edit: 4 years 6 months ago by DukeURL.

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #34918 by ivan.milic
Well there?? replace h3 with h2

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.127 seconds