Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - FashionMart (SKU# FLEX-00008)

TOPIC: SEO + fashionmart where are the heading 1

SEO + fashionmart where are the heading 1 9 years 1 month ago #6704

Hello guys
Im doing some SEO courses and we have used my website using Fashionmart template
Teachers have pointed out many mistakes with this template:

* The title of my virtuemart product are not in H1 (heading1) : could you please let me know on how to change that in the code?
the title is only in div and not h1?

thank you
The topic has been locked.

SEO + fashionmart where are the heading 1 9 years 1 month ago #6719

Hi,

You can only do this change through PHP file.

Open this PHP file (for product details page layout):
/templates/YOUR_TEMPLATE/html/com_virtuemat/productdetails/default.php
(default.php or flexv2.php depends on which layout you are using for product details page)

And look for this line:
<div class="FlexibleProductDetailProductName"><?php echo $this->product->product_name ?></div>

and replace it with:
<h1 class="FlexibleProductDetailProductName"><?php echo $this->product->product_name ?></h1>

(you may change the class name to re-define your own CSS rules if you would like)

Regards.
Support & Development
The topic has been locked.

SEO + fashionmart where are the heading 1 9 years 1 month ago #6760

Brilliant thank you it works!!!
The topic has been locked.

SEO + fashionmart where are the heading 1 9 years 1 month ago #6775

Sure, your welcome.

Case solved. topic is locked.

Regards,
Support & Development
The topic has been locked.
Time to create page: 0.090 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo