News:

Support the VirtueMart project and become a member

Main Menu

Product Details & Light Box

Started by b.adams91, March 28, 2012, 03:39:09 AM

Previous topic - Next topic

b.adams91

Hi Guys,

Still having trouble trying to configure a smaller product details size image and a larger light box image if someone could please help me out.
Also whenever you open the light box image there is always a white line on the left. Please get back to me soon..
www.illestclothing.com

Thanks,
Brandon

jenkinhill

Assuming this is with VirtueMart 2.0.2

For image size: http://forum.virtuemart.net/index.php?topic=98647.0

For the white line, looks like you need to overrule some style in your template.
This seems to work: Edit /media/system/js/modal.js
Around line 52 change

#sbox-content {
    background-color: #b9298b;
    clear: both;
    height: 100%;
    overflow: auto;
    width: 100%;
}

to

#sbox-content {
    background-color: #000000;
    clear: both;
    height: 100%;
    overflow: auto;
    width: 100%;
}
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

b.adams91

Hi Jenkin,

Thanks for your help. I noticed the frequently asked questions suggestion to add a variable for the medium image, I just can't seem to find it located in the actual coding it doesn't say anywhere in the text "medium-image" so I'm not sure where to place it. I'm using Filezilla to view these files.

Thanks again,
Brandon

jenkinhill

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

b.adams91

Hi,

Yes i'm not actually sure where to insert that variable to light box and product detail images.

Thanks,
Brandon