I have successfully add an image to my carousel slider (Widget) at the bottom of my page. I need each image in my slider to be a clickable link to an outside URL. How can I accomplish this?
ecubenetworks.com
the carousel item should look like:
This is what I have and it does not seem to be working:
<div id=’myCarousel’ class=’carousel slide’ data-ride=’carousel’>
<div class=’carousel-inner’>
<div class=’item active’>
<a href=”http://www.7thdi.com”><img alt=”” src=”http://ecubenetworks.com/wp-content/themes/evolve/library/media/images/slider/slider_img_04.jpg”></a>
<div class=’carousel-caption’>
<h4></h4>
</div>
</div>
try this one:
<div class=’carousel-inner’>
<a href=”http://www.7thdi.com”><div class=’item active’>
<img alt=”” src=”http://ecubenetworks.com/wp-content/themes/evolve/library/media/images/slider/slider_img_04.jpg”>
<div class=’carousel-caption’>
<h4></h4>
</div></a>
</div>
Still not working for me. This is what I have for the entire Widget:
<div id=’myCarousel’ class=’carousel slide’ data-ride=’carousel’>
<div class=’carousel-inner’>
<a href=”http://www.7thdi.com”><div class=’item active’>
<img alt=”” src=”http://ecubenetworks.com/wp-content/themes/evolve/library/media/images/slider/slider_img_04.jpg”>
<div class=’carousel-caption’>
<h4></h4>
</div></a>
</div>
<div class=’item’>
<a href=”http://7thdi.com”><img alt=”” src=”http://ecubenetworks.com/wp-content/themes/evolve/library/media/images/slider/slider_img_04.jpg”></a>
<div class=’carousel-caption’>
<h4></h4>
</div>
</div>
<div class=’item’>
<img src=’http://ecubenetworks.com/wp-content/themes/evolve/library/media/images/slider/slider_img_04.jpg’ alt=” />
<div class=’carousel-caption’>
<h4>Unlimited color schemes</h4>
</div>
</div>
</div>
<a class=’left carousel-control’ href=’#myCarousel’ data-slide=’prev’><img src=’http://ecubenetworks.com/wp-content/themes/evolve/library/media/images/left-ar.png’ /></a>
<a class=’right carousel-control’ href=’#myCarousel’ data-slide=’next’><img src=’http://ecubenetworks.com/wp-content/themes/evolve/library/media/images/right-ar.png’ /></a>
</div>
The topic Carousel Slider Hyperlink is closed to new replies