Jump to content

[Resolved] Mobile issue-not showing multiple images


Guest

Recommended Posts

Is there a way to get the additional product images to show on mobile ? I am using Kurouto skin.When you click a product, it shows just the main image. website: www.firstcommunions.com

Link to comment
Share on other sites

Please make these edits.

/skins/mobile/styles/common.css

Find:
div.image { text-align:center}

Add AFTER:
/* NEW */
#gallery_select {
	text-align: center;
}
#gallery_select > a {
	display: block;
	margin-bottom: 2px;
}
/* /NEW */

/skins/mobile/templates/content.product.php

Find:
<div class="image">

Add BEFORE:
{* NEW *}
<div id="gallery">
{* /NEW *}

Find:
<div id="product_detail">

Add BEFORE:
{* NEW *}
{if $GALLERY}
  <div id="gallery_select">
{foreach from=$GALLERY item=image}
    <a href="{$image.large}" id="image_{$image.id}" class="colorbox gallery" rel="gallery"><img src="{$image.gallery}" alt="{$LANG.catalogue.click_enlarge}" /></a>
{/foreach}
  </div>
  <script type="text/javascript">
    var gallery_json = {$GALLERY_JSON}
  </script>
{/if}
</div>
{* /NEW *}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...