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

TOPIC: Center main image on product details page

Center main image on product details page 8 years 3 weeks ago #13867

Hi,

I updated my cleanmart yesterday to latest version.
Now my main image on the product details page is not centered anymore.
I tried al lot using CSS but nothing allows me to center the image.

How to solve this?

Thanks
Michiel
The topic has been locked.

Center main image on product details page 8 years 2 weeks ago #13879

I don't understand what you meant. Don't you have big enough picture to fill the picture portion of the page?

Can you provide me a URL of a product from your website and let me see?

Regards.
The topic has been locked.

Center main image on product details page 8 years 2 weeks ago #13890

For instance:
hairfair.nl/weekaanbiedingen/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=1041&virtuemart_category_id=92
The image should be centered in the left block. Not all images are big enough to fill the complete area.
The topic has been locked.

Center main image on product details page 8 years 1 week ago #13907

Hi,

try this:

1- Open this CSS file:
hairfair.nl/templates/hairfair5/html/com_virtuemart/assets/css/flexible.css

2- Scroll to the bottom and include this line:
.FlexibleMainImage { display:inline-block;}

This should center the picture.

Regards.
The topic has been locked.

Center main image on product details page 8 years 1 week ago #13917

great
solved my problem.

thanks
The topic has been locked.

Center main image on product details page 8 years 1 week ago #13918

I am glad it is all sorted out.

Case solved, topic is closed.

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