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

TOPIC: product detail image size

product detail image size 10 years 4 months ago #7391

Hello, can you help me please? I dont know where i do misstake? I think my pictures uploaded to site is too big, like dont work auto resize?? like on this pages.

www.kcmtshop.sk/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=852&virtuemart_category_id=78&Itemid=621

www.kcmtshop.sk/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=793&virtuemart_category_id=84&Itemid=696

Can you help me where i do mistake, thanks.
Attachments:
The topic has been locked.

product detail image size 10 years 4 months ago #7443

Hi,

It is because you have "tall" (portrait) product pictures instead of "wide".

To fix this height sizing problem, open this JS file:
www.kcmtshop.sk/templates/flexible_lightmart/js/template.js

find these lines below, and remove them completely (or comment out them):
//Make fixed height for Priduct Details page
var ProductDetailsFixheight = $('#vmFlyPageTop').height();
$('#vmFlyPageTop').css("height",ProductDetailsFixheight);

Therefore you won't have a fixed height for product details page. The height will be auto depends on how tall (portrait) product picture you have.

Regards.
Support.
The topic has been locked.

product detail image size 10 years 3 months ago #7564

Thanks it work when i change format of pictures to wide :) THANK YOU
The topic has been locked.

product detail image size 10 years 3 months ago #7599

Sure, no problem.

Case solved. topic is closed.

Regards,
Support
The topic has been locked.
Time to create page: 0.196 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