Patty31
Patty31

Reputation: 105

Adding text to Jquery responsiveslides slider

Hello Actually i'm using jquery responsiveslides from Responsive slides

how can i add text for each slide like in this can some one point me in right direction

Upvotes: 0

Views: 1065

Answers (1)

Angel
Angel

Reputation: 36

You can do like this.

HTML:

<ul class="rslides" id="slider">
    <li>
      <a href="#"><img src="images/mainimg1.jpg" alt=""></a>
    </li>
    <li>
      <img src="images/mainimg2.jpg" alt="">
      <div class="gallerycon">
        <h1>Your Title</h1>
        <p>Lorem Ipsum is simply dummy text of the printing and typesetting</p>
      </div>
    </li>
</ul>

CSS:

.gallerycon{
    position:absolute;
    top:30%;
    right:40%;
    z-index: 3;
    width:60%;
    height:400px;
} 

Upvotes: 2

Related Questions