If you want the Upsell / Greybox overlay to automatically fit to small screens, then do this:
Go to Design / Library / Layouts / Upsell Items / Upsell Setup Code.
Around line 32 is a line:
if ( v11canshow() ) GB_show(caption, url, height, width);
Immediately above it add a line:
Code: Select all
if ( width > $(window).width() ) width = $(window).width() - 40;
You could add a similar line for height (although this may not be needed as a vertical scrollbar will appear to allow all the content to be accessed):
Code: Select all
if ( height > $(window).height() ) height = $(window).height() - 40;