Hi everyone!
I'm currently learning couch and it's amazing so far, thank you guys behind this awesome piece of art! I wonder if someone could help me with below problem I'm facing, the site i'm converting is using a really cool slider which I want to use to show the latest 3 blog posts, the problem is that the slider backgrounds is not definded in each slide DIV and hence they will be outside the loop if that makes sence? How can I resolve this? Thanks in advance!
and this is the loop i'm using:
Thanks!
I'm currently learning couch and it's amazing so far, thank you guys behind this awesome piece of art! I wonder if someone could help me with below problem I'm facing, the site i'm converting is using a really cool slider which I want to use to show the latest 3 blog posts, the problem is that the slider backgrounds is not definded in each slide DIV and hence they will be outside the loop if that makes sence? How can I resolve this? Thanks in advance!
- Code: Select all
<div id="animate-slider" class="animate-slider alltogether-loadbars carousel dots-over as-overlay in-page-scroll" data-background-0="img/backgrounds/home-background-01.jpg" data-background-1="img/backgrounds/home-background-02.jpg" data-background-2="img/backgrounds/home-background-03.jpg">
<div class="slide hs-content">
<div class="hs-content-inner">
<div class="delay0-1s" data-effect-in="fadeInUp" data-effect-out="zoomOut">
<h1 class="hs-text-4 font-second">Slide 3</h1>
</div>
</div>
</div>
<div class="slide hs-content">
<div class="hs-content-inner">
<div class="delay0-1s" data-effect-in="fadeInUp" data-effect-out="zoomOut">
<h1 class="hs-text-4 font-second">Slide 3</h1>
</div>
</div>
</div>
<div class="slide hs-content">
<div class="hs-content-inner">
<div class="delay0-1s" data-effect-in="fadeInUp" data-effect-out="zoomOut">
<h1 class="hs-text-4 font-second">Slide 3</h1>
</div>
</div>
</div>
<div class="as-indicators"></div>
</div>
and this is the loop i'm using:
- Code: Select all
<cms:pages masterpage='blog.php'
folder=k_folder_name
start_on=k_archive_date
stop_before=k_next_archive_date
paginate='1'
limit='3' >
Thanks!