News:

Support the VirtueMart project and become a member

Main Menu

Pop up Product Image - wrong size (distorted)

Started by Piwo, January 20, 2016, 17:45:39 PM

Previous topic - Next topic

Piwo

Joomla! 3.4.8
VirtueMart 3.0.12
PHP Version   5.6.17

Hey there,

I got a problem with my product images: When I click on the image a new window opens but the image has wrong size (distorted) - it stretches the image. Please see:

http://casa-eurabia.olifants.eu/shop/mosaiktische/mosaiktisch-3-detail

thanks!





 

jenkinhill

Learn to use Firebug - that would enable you to work out simple display issues.  http://forum.virtuemart.net/index.php?topic=116620.0

The problem is this:
#fancybox-content {
    height: 600px !important;
}
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Piwo

Hey jenkinhill, thanks for the quick reply. You are right!
In my other website it has width: 700px; height: 700px. But In the VM backend I can not find the section where to change the size of the fancy box. Do you know where I can find the configuration for fancy box size?

Thanks!

jenkinhill

Use Firebug to identify the css file.  It is not in VM it is in your override.css

http://getfirebug.com/css
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

VMTemplates.net

Hi,

problem is caused by the template you are using: http://casa-eurabia.olifants.eu/templates/gk_storefront/css/override.css on line 299.
Remove this code:

/* Design ask a question form */
#fancybox-content {
   height: 600px !important;
}

We develop VirtueMart templates since 2008
https://www.virtuemarttemplates.net/
Join the VirtueMart Templates Club today and get an access to over 60 VirtueMart templates
https://www.virtuemarttemplates.net/template-club.html
If you need a custom VirtueMart Template design please visit https://www.virtuemarttemplates.net/custom-virtuemart-template-design.html
Visit our new shop https://demo.virtuemarttemplates.net/
Join the VirtueMart Templates Club, purchase the template or order one of our services like Hosting, Website Maintenance, Security and Optimization, Template Customization and more

Piwo

Yes, I did this in the css because I wanted to get the 'ask a question' frame without scrollbar. How can I do this?

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation