Reputation: 58692
This is what I have right now :
JSFiddle
: when I use font-awesome
JSFiddle_2
: when I tried use image background
Currently, I use font-awesome for the arrows, and now I want to load my own icon instead.
I tried this, but no luck:
I've been struggling for quite a while now. I hope someone can help me resolve this.
Thanks in advance.
Upvotes: 3
Views: 7915
Reputation: 115240
Basically all you need to do is change the content
property of the pseudo elements to the appropriate image url(s).
.slick-next:before {
content:url(http://lorempixel.com/20/20/);
}
.slick-prev:before {
content:url(http://lorempixel.com/20/20/);
}
Upvotes: 4