I'm using Drupal 7 and Field Slideshow plugin. I published my slide and working. It's have a pager and that's name 'Prev' and 'Next'
I don't want text, must image. How can i do it?
<div id="field-slideshow-<?php print $slideshow_id; ?>-controls" class="field-slideshow-controls">
<a href="#" class="prev"><?php print t('Prev'); ?></a>
<?php if (!empty($controls_pause)) : ?>
<a href="#" class="play"><?php print t('Play'); ?></a>
<a href="#" class="pause"><?php print t('Pause'); ?></a>
<?php endif; ?>
<a href="#" class="next"><?php print t('Next'); ?></a>
</div>
<div id="field-slideshow-<?php print $slideshow_id; ?>-controls" class="field-slideshow-controls">
<a href="#" class="prev"></a>
<?php if (!empty($controls_pause)) : ?>
<a href="#" class="play"><?php print t('Play'); ?></a>
<a href="#" class="pause"><?php print t('Pause'); ?></a>
<?php endif; ?>
<a href="#" class="next"></a>
</div>
And styles like this:
.prev {
display:inline-block;
width:20px;
height:20px;
background: transparent url('path/to/prev/image.png') no-repeat center center;
}
.next {
display:inline-block;
width:20px;
height:20px;
background: transparent url('path/to/next/image.png') no-repeat center center;
}
Or you can have something like this:
<div id="field-slideshow-<?php print $slideshow_id; ?>-controls" class="field-slideshow-controls">
<a href="#" class="prev"><img scr="path/to/prev/image.png" alt="<?php print t('Prev'); ?>" /></a>
<?php if (!empty($controls_pause)) : ?>
<a href="#" class="play"><?php print t('Play'); ?></a>
<a href="#" class="pause"><?php print t('Pause'); ?></a>
<?php endif; ?>
<a href="#" class="next"><img scr="path/to/next/image.png" alt="<?php print t('Next'); ?>" /></a>
</div>