Jump to content

Lightbox position


Recommended Posts

Hi what I am trying to explain is that when 'View Full Image' is clicked on the product detail page the popup image is cut off at the bottom of the page with only 2/3 of the product picture in view. I would like the complete image to show.

Link to comment
Share on other sites

You could reduce the size of the thickbox image by going to Preferences > Image, editing the 'thickbox' size, and reducing the width and height so that image is small enough to be shown completely, then click Save, then "Regenerate thumbnails".

Link to comment
Share on other sites

  • 4 months later...

It is caused by a mistake in your theme. You should change lines 17-21 of header.tpl from:

{if isset($css_files)}
   {foreach from=$css_files key=css_uri item=media}
   <link href="{$content_dir}themes/kinkymio/css/global.css" rel="stylesheet" type="text/css" media="{$media}" />
   {/foreach}
{/if}



to:

{if isset($css_files)}
   {foreach from=$css_files key=css_uri item=media}
   <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
   {/foreach}
{/if}

Link to comment
Share on other sites

  • 3 months later...
It is caused by a mistake in your theme. You should change lines 17-21 of header.tpl from:

{if isset($css_files)}
   {foreach from=$css_files key=css_uri item=media}
   <link href="{$content_dir}themes/kinkymio/css/global.css" rel="stylesheet" type="text/css" media="{$media}" />
   {/foreach}
{/if}



to:

{if isset($css_files)}
   {foreach from=$css_files key=css_uri item=media}
   <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
   {/foreach}
{/if}



Hi Rocky, this didn't work for me, image is still well hidden on the page, see image..any ideas?

35595_W8W76EnrkSFU4ybHFGPq_t

Link to comment
Share on other sites

Thanks semtam, was using IE8 with same problem, I found the CSS file and moved the thickbox image nearer to the top of the page, that seems to have done the trick.
For anyone else having this issue, go to /css/thickbox.css and edit

#TB_window {
position: fixed;
background: #ffffff;
z-index: 102;
color:#000000;
display:none;
border: 4px solid #525252;
text-align:left;
top:50%;
left:50%;

To

#TB_window {
position: fixed;
background: #ffffff;
z-index: 102;
color:#000000;
display:none;
border: 4px solid #525252;
text-align:left;
top:3%;
left:50%;

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...