How can I change the 2nd thumb image to a video
-
On my website http://www.panimyaffotsalonspa.com I had a video that would play in the place of the 2nd thumb image, but for some reason its not showing anymore. I am lost at what to do.
heres a link to the video: https://www.youtube.com/watch?v=aGanASdJ828
any help would be appreciated
-
hi
kindly tell us which place use video by indicating though screen shot .
Thanks
http://i61.tinypic.com/zmk0tw.jpg
its the image circled.Hi sanatana
Your problem is hard-coded
Please remove this line code in index-slider.php file (Theme package >> index-slider.php )
line no 44 : –
<?php if($current_options[‘second_thumb_image’]!=”) ?>
<img src=”<?php echo $current_options[‘second_thumb_image’]; ?>” alt=”Spa Featture” class=”slider-thumb” />and Replace this code into index-slider.php file
<iframe width=”366″ height=”155″ src=”//www.youtube.com/embed/aGanASdJ828″ frameborder=”0″ allowfullscreen></iframe>
Let me know for further Assistance
ThanksI did as you asked, for some reason it’s still the same, I’m not too sure if it may be related to the custom css add-on im using, but before I’d have the video working, along with a few images to be clickable. Now none of it is functioning as its supposed to.
Hi sanatana
you have want to given below link page layout in second thumb.
http://postimg.org/image/ht22g7dbj/if you have want to use that layout please follow My second comment instruction..
Thanks..
Sorry I wasn’t available for the holidays, I have changed the line as you asked, I’m not sure what the issue can be, I will show you an image.
http://i60.tinypic.com/2upuuq9.png
I also have extra CSS codes put into the custom CSS panel, not sure if that may be affecting this but heres an image of that as well.
http://i60.tinypic.com/kcmcgm.jpg
I’m really stuck and not sure what the problem could be.
Hi santana
Copy the below mention code and paste at index-slider.php file..
CODE :-
<?php $current_options=get_option(‘spa_theme_options’); ?>
<div id=”container” class=”cf”>
<div class=”main” role=”main”>
<div class=”slider”>
<div id=”slider” class=”flexslider”>
<ul class=”slides”>
<li class=”slide_content”>
<?php if($current_options[‘home_feature’]!=”) ?>
<img src=”<?php echo $current_options[‘home_feature’]; ?>” alt=”Spa Featture” class=”main-sliderimg” />
<div class=”slidesDescription container” >
<div class=”row-fluid”>
<div class=”span3″ id=”slidedescription”>
<dl class=”pink_title”>
<?php if($current_options[‘line_one’] !=”){ ?>
<dt><?php echo ($current_options[‘line_one’]); ?></dt>
<?php } ?>
<?php if($current_options[‘line_two’] !=”){ ?>
<dt>
<div class=”pink-head”><?php echo ($current_options[‘line_two’]); ?></div>
</dt>
<?php } ?>
<dd></dd>
</dl>
</div>
<div class=”span6″ id=”slide_desc”>
<p> <?php echo ($current_options[‘description’]); ?></p>
</div>
<div class=” spa_tag”>
<span>
<?php echo $current_options[‘call_us_text’]; ?>
<p><?php echo $current_options[‘call_us’]; ?></p>
</span>
</div>
</div>
</div><div class=”slider-thumb-container container”>
<div class=”thumb-img-container”>
<?php if($current_options[‘first_thumb_image’]!=”) ?>
<img src=”<?php echo $current_options[‘first_thumb_image’]; ?>” alt=”Spa Featture” class=”slider-thumb” />
</div>
<div class=”thumb-img-container”><iframe width=”366″ height=”155″ src=”//www.youtube.com/embed/aGanASdJ828″ frameborder=”0″ allowfullscreen></iframe>
</div>
<div class=”thumb-img-container”>
<?php if($current_options[‘third_thumb_image’]!=”) ?>
<img src=”<?php echo $current_options[‘third_thumb_image’]; ?>” alt=”Spa Featture” class=”slider-thumb” />
</div>
</div>
<!– end of slider Thumbnails images –>
</div>
</div>
</div>
</div>Let me know for any help.
Thanks
Hello, I erased the code in index-slider, and pasted this one.. yet it’s still showing me the same thing, I don’t really get what the issue can be.
- The topic ‘How can I change the 2nd thumb image to a video’ is closed to new replies.