By xtopher85 on Sat, 08/09/2014 - 23:10
Forums:
Hello,
Id like to change the slider to a static image. I removed the two other slides but the image fades in/out as if another image is available. How to i prevent this?
Thank you!
Hello,
Id like to change the slider to a static image. I removed the two other slides but the image fades in/out as if another image is available. How to i prevent this?
Thank you!
Comments
You will need to edit few codes. Please follow these steps:
<!-- START SLIDER -->
<?php if (theme_get_setting('home_slider')): ?>
<div class="container clearfix">
<div id="slider">
<div class="main_view">
<div class="window">
<div class="image_reel">
<img src="<?php echo theme_get_setting('slider_one_image'); ?>" />
<img src="<?php echo theme_get_setting('slider_two_image'); ?>" />
<img src="<?php echo theme_get_setting('slider_three_image'); ?>" />
</div>
<div class="slider-title">
<div class="slidertitle"><?php echo theme_get_setting('slider_one_title'); ?></div>
<div class="slidertitle"><?php echo theme_get_setting('slider_two_title'); ?></div>
<div class="slidertitle"><?php echo theme_get_setting('slider_three_title'); ?></div>
</div>
<div class="slider-text">
<div class="slidertext" style="display: none;"><?php echo theme_get_setting('slider_one_desc'); ?></div>
<div class="slidertext" style="display: none;"><?php echo theme_get_setting('slider_two_desc'); ?></div>
<div class="slidertext" style="display: none;"><?php echo theme_get_setting('slider_three_desc'); ?></div>
</div>
</div>
<div class="paging">
<a rel="1" href="#">1</a>
<a rel="2" href="#">2</a>
<a rel="3" href="#">3</a>
</div>
</div>
</div> <!-- end slider -->
</div>
<?php endif; ?>
<div class="clear"></div>
<!-- END SLIDER -->
<img src="http://www.domain.com/images/banner.jpg" alt="some text" />
In above code, use correct image URI of your image.
Done!!
This worked perfectly, thank you very much!