Best way to move header and centre image below it

Fashion and clothing responsive Joomla ecommerce template with full VirtueMart support and advanced store features.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Nov 21, 2013 9:40 pm
Reply with quote
Report this post
Hi all,

I am looking at moving the heading of the products on the products detail page to the top left hand side (either top-left or top-center).

I would then like to move the product image underneath it and look to central it.

Can anyone help with this please?

Thanks,
User avatar
Gold Boarder

GK User
Sat Nov 23, 2013 11:10 am
Reply with quote
Report this post
Hello,

In this case you have to edit this file html/com_virtuemart/productdetails/default.php:

and move the following line:

Code: Select all
<h1><?php echo $this->product->product_name ?></h1>


before this line:

Code: Select all
<div class="width36 floatleft">
User avatar
Administrator

GK User
Mon Dec 02, 2013 12:14 pm
Reply with quote
Report this post
Hi,

Thanks for that - the header has now moved to the top-left :)

Just one other quick question - what's the best way for me to center the image below it?

Many thanks,

Prit
User avatar
Gold Boarder

GK User
Mon Dec 02, 2013 7:29 pm
Reply with quote
Report this post
Centering of the image won't be possible, because it is placed in the one of the 2-column layout. Moving it to other container can cause problems with VM scripts.
User avatar
Administrator


cron