Hi there,
Using the ImageShowGK4 with the gk-photo template. Is there a way to make the text on the slides centered while maintaining the nice hover (arrow left/right) to navigate through the different slides?
Marc
.gkIsWrapper-gk_photo figcaption {
text-align: center;
}
.gkIsWrapper-gk_photo figcaption h2,
.gkIsWrapper-gk_photo figcaption p {
width: 100%;
}
.gkIsWrapper-gk_photo figcaption a {
float: none;
display: inline-block;
}
elmt.addEvent('mouseover', function() {
if(!wrapper.hasClass('gk-arrow-visible')) {
wrapper.addClass('gk-arrow-visible');
}
});
elmt.addEvent('mouseout', function() {
if(wrapper.hasClass('gk-arrow-visible')) {
wrapper.removeClass('gk-arrow-visible');
}
});
elmt.addEvent('mouseenter', function() {
if(!wrapper.hasClass('gk-arrow-visible')) {
wrapper.addClass('gk-arrow-visible');
}
});
elmt.addEvent('mouseleave', function() {
if(wrapper.hasClass('gk-arrow-visible')) {
wrapper.removeClass('gk-arrow-visible');
}
});
<a href="<?php echo $link; ?>"><?php echo $link_text; ?></a>
<div style="float:left; width:100%;"><a href="<?php echo $link; ?>"><?php echo $link_text; ?></a></div>