Title: padding between slides / replacing arrows
Last modified: April 22, 2018

---

# padding between slides / replacing arrows

 *  Resolved [floridante](https://wordpress.org/support/users/floridante/)
 * (@floridante)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/padding-between-slides-replacing-arrows/)
 * Hi Philipp,
 * first of all: thanks for the plugin, which is quite what i was looking for!
 * I have two questions though:
 * 1) Is there a possibility to add padding between the slides (i’d love to have
   just 1px)?
 * 2) Would it be possible to replace the arrows with icons from Font Awesome, i.
   e. fa-long-arrow-left “\f177” and fa-long-arrow-right “\f178”, preferably below
   the slider, to the left and right of the bullets? i tried to achieve that in 
   the style sheet of my child theme, alas of no avail.
 * Thanks in advance!
    Max

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [floridante](https://wordpress.org/support/users/floridante/)
 * (@floridante)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/padding-between-slides-replacing-arrows/#post-10207376)
 * Quick update: I’ve managed to get a fine white line between the slides. Looks
   as desired:
 * .slick-slide img {
    border-left: 2px solid #fff; }
 * No luck regarding the arrows though. And I was wondering if it was possible to
   add the image’s description in a second line underneath the title?
 *  Plugin Author [Philipp Bammes](https://wordpress.org/support/users/tyrannous/)
 * (@tyrannous)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/padding-between-slides-replacing-arrows/#post-10210684)
 * Hi [@floridante](https://wordpress.org/support/users/floridante/),
    1. > Is there a possibility to add padding between the slides?
    2.  There are several ways to achieve this and the one you choosed seems to be 
       a good one.
    3. > Would it be possible to replace the arrows with icons from Font Awesome?
    4.  As you can imagine, this question is not exactly related to this plugin because
       it’s just a “WordPress wrapper” for the [slick jQuery plugin](http://kenwheeler.github.io/slick/).
       Your question is more about how to apply CSS to the slider. So please be aware
       that the amount of support I can provide on this kind of questions is limited.
       [https://gist.github.com/omurphy27/a4736e58520a8d6d2006](https://gist.github.com/omurphy27/a4736e58520a8d6d2006)
       should be everything you need to get started.
    5. > I was wondering if it was possible to add the image’s description in a second
       > line underneath the title?
    6.  Add the following snippet to your `functions.php`:
    7.     ```
           add_filter( 'slick_slider_caption_html', function( $caption_text, $id, $post_id, $slick_instance ) {
           	$description  = apply_filters( 'the_content', get_post_field( 'post_content', $id ) );
           	if ( ! empty( $description ) ) :
           		$caption_text = sprintf(
           			'%s <br />%s',
           			$caption_text,
           			$description
           		);
           	endif;
           	return $caption_text;
           }, 10, 4 );
           ```
       
 *  Thread Starter [floridante](https://wordpress.org/support/users/floridante/)
 * (@floridante)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/padding-between-slides-replacing-arrows/#post-10215135)
 * The addition to the functions.php works perfectly fine, thank you very much! 
   To be honest I wasn’t aware at all that replacing the icons wasn’t exactly related
   to the plugin, otherwise I wouldn’t have bothered you with my request. But thanks
   for the link anyway. I’ll try to understand the approach and will see how far
   it will get me.
 *  Plugin Author [Philipp Bammes](https://wordpress.org/support/users/tyrannous/)
 * (@tyrannous)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/padding-between-slides-replacing-arrows/#post-10242829)
 * Hi [@floridante](https://wordpress.org/support/users/floridante/),
    did you managed
   to replace the arrows? I’d really like to see this thread `resolved`.
 * Thanks!
 *  Thread Starter [floridante](https://wordpress.org/support/users/floridante/)
 * (@floridante)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/padding-between-slides-replacing-arrows/#post-10243248)
 * Hi Philipp,
    no, unfortunately I didn’t manage to replace the arrows and gave
   up for the time being.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘padding between slides / replacing arrows’ is closed to new replies.

 * ![](https://ps.w.org/slick-slider/assets/icon.svg?rev=1520493)
 * [Slick Slider](https://wordpress.org/plugins/slick-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slick-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slick-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/slick-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slick-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slick-slider/reviews/)

## Tags

 * [description](https://wordpress.org/support/topic-tag/description/)

 * 5 replies
 * 2 participants
 * Last reply from: [floridante](https://wordpress.org/support/users/floridante/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/padding-between-slides-replacing-arrows/#post-10243248)
 * Status: resolved