I have altered a page that has a gallery on it and am now using slimbox 2 from the guide: https://docs.couchcms.com/concepts/photo-gallery.html
It sort of works but the popup image seems to fade and then the nav menu is highlighted and not got a clue what is causing it. The page is http://www.sprintmiddledistancepigeons. ... terdam.php
Can anyone help and spot something that I can't
The coding on the page is below
UPDATE: I have managed to get the nav menu so it's not highlighted now but the image popup still seems to have some sort of overlay over it so it's faded
It sort of works but the popup image seems to fade and then the nav menu is highlighted and not got a clue what is causing it. The page is http://www.sprintmiddledistancepigeons. ... terdam.php
Can anyone help and spot something that I can't
The coding on the page is below
- Code: Select all
<?php require_once( 'cms/cms.php' ); ?>
<cms:template title='Romein Klein Rotterdam' clonable='1' gallery='1'>
<cms:editable
name='gg_image'
label='Image'
desc='Upload your main image here'
show_preview='1'
preview_height='400'
type='image'
order='1'
/>
<cms:editable
name='gg_thumb'
label='Image Thumbnail'
desc='Thumbnail of the main image above'
enforce_max='1'
assoc_field='gg_image'
show_preview='1'
type='thumbnail'
order='2'
/>
<cms:editable
name='my_desc'
label='Description'
height='60'
type='textarea'
/>
</cms:template>
<div id="gallery-wrapper">
<!-- gallery images-->
<ul class="gallery">
<cms:pages folder=k_folder_name include_subfolders='0' limit='18' paginate='1'>
<li>
<a href="<cms:show gg_image />" rel="lightbox-<cms:show k_page_foldername/>" <cms:if my_desc>title="<cms:show my_desc/>"</cms:if>>
<img alt="<cms:show k_page_title />" src="<cms:show gg_thumb />"/>
</a>
</li>
</cms:pages>
</ul>
</div><!-- gallery-wrapper -->
<?php COUCH::invoke(); ?>
UPDATE: I have managed to get the nav menu so it's not highlighted now but the image popup still seems to have some sort of overlay over it so it's faded