VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: b.adams91 on March 28, 2012, 03:39:09 AM

Title: Product Details & Light Box
Post by: b.adams91 on March 28, 2012, 03:39:09 AM
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
Title: Re: Product Details & Light Box
Post by: jenkinhill on March 28, 2012, 13:01:11 PM
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%;
}
Title: Re: Product Details & Light Box
Post by: b.adams91 on March 28, 2012, 13:38:42 PM
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
Title: Re: Product Details & Light Box
Post by: jenkinhill on March 31, 2012, 23:23:55 PM
You mean http://forum.virtuemart.net/index.php?topic=98647.0 ?
Title: Re: Product Details & Light Box
Post by: b.adams91 on April 03, 2012, 04:47:14 AM
Hi,

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

Thanks,
Brandon