Title: Responsive breakpoint solution?
Last modified: March 22, 2017

---

# Responsive breakpoint solution?

 *  Resolved [Micha Krapp](https://wordpress.org/support/users/mfgmicha/)
 * (@mfgmicha)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/responsive-breakpoint-solution/)
 * Really like your Plugin.
    But since I want to show a carousel with 8 images I
   need a solution for mobile sizes (because the images resize very small).
 * Any tip on how to do this without writing in your init slick() function 🙂

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

 *  Plugin Author [Philipp Bammes](https://wordpress.org/support/users/tyrannous/)
 * (@tyrannous)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/responsive-breakpoint-solution/#post-8945392)
 * Hi [@mfgmicha](https://wordpress.org/support/users/mfgmicha/),
    the easiest way
   to accomplish this is to use slick’s `slickSetOption` method.
 * Add the following lines to your JS (or [enqueue](https://developer.wordpress.org/reference/functions/wp_enqueue_script/)
   a separate file which uses `slick-slider-core` as `$deps`):
 *     ```
       jQuery( document ).ready( function() {
       	jQuery( '.slick-slider-wrapper .slick-slider' ).slick( 'setOption', 'responsive', [
       		{
       			breakpoint: 480,
       			settings: {
       				slidesToShow: 1,
       			}
       		},
       		{
       			breakpoint: 768,
       			settings: {
       				slidesToShow: 2,
       			}
       		},
       		{
       			breakpoint: 992,
       			settings: {
       				slidesToShow: 4,
       			}
       		},
       	],
       	true
       	)
       } )
       ```
   
 * Adjust the selector, breakpoints and settings to your specific needs.
    -  This reply was modified 9 years, 2 months ago by [Philipp Bammes](https://wordpress.org/support/users/tyrannous/).
 *  Thread Starter [Micha Krapp](https://wordpress.org/support/users/mfgmicha/)
 * (@mfgmicha)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/responsive-breakpoint-solution/#post-8947124)
 * Thanks for the fast reply, had found the same solution myself.
 * The important part is the `slick-slider-core` as `$deps` in the enqueue / register
   of the script, so that you run after the initial `.slick()`
 *  Plugin Author [Philipp Bammes](https://wordpress.org/support/users/tyrannous/)
 * (@tyrannous)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/responsive-breakpoint-solution/#post-8947157)
 * Glad you have resolved it.
 *  [Fuad Fauzi](https://wordpress.org/support/users/mrfoo/)
 * (@mrfoo)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/responsive-breakpoint-solution/#post-9439589)
 * Hi,
 * I still cant understand this statement
 * > The important part is the `slick-slider-core` as `$deps` in the enqueue
 * I registered the new js file, i.e. slick-responsive.js as the file name, and 
   pasted those lines into it. Those action’s result was beyond my expectation because
   the slider was not working, so I excluded responsive ability for a while until
   I get the proper solution.
 * Could you please advise me to solve this problem?
 *  [Fuad Fauzi](https://wordpress.org/support/users/mrfoo/)
 * (@mrfoo)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/responsive-breakpoint-solution/#post-9439615)
 * I found this kind of error in Developer Console.
 * [Screenshot](http://prntscr.com/gcpnsf)
 *  Plugin Author [Philipp Bammes](https://wordpress.org/support/users/tyrannous/)
 * (@tyrannous)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/responsive-breakpoint-solution/#post-9443117)
 * Hi [@mrfoo](https://wordpress.org/support/users/mrfoo/),
    please start a new 
   support thread since this one has been marked as `resolved` and I don’t want 
   to spam [@mfgmicha](https://wordpress.org/support/users/mfgmicha/)’s inbox. Thanks.

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

The topic ‘Responsive breakpoint solution?’ 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

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

 * 6 replies
 * 3 participants
 * Last reply from: [Philipp Bammes](https://wordpress.org/support/users/tyrannous/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/responsive-breakpoint-solution/#post-9443117)
 * Status: resolved