Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Caption slide up?

Status
Not open for further replies.

jason.lex

Vendor
Jan 3, 2019
10
HK
I am using slick carousel to display some gallery but I am not sure how to make the caption slide up for the current active image. IS there a way to do this with slick?

Here is the link:
Here is the code for the single slide. I use position relative for the img-container and absolute for the caption to make the caption above the image...
HTML:
<div class="img-container">
    <img src="[URL unfurl="true"]https://dummyimage.com/677x460/f503f5/ccc&text=Slide[/URL] 1"/>
    <div class="caption">
        Slide 1
    </div>
</div>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top