Title: Slides Offset
Last modified: March 4, 2025

---

# Slides Offset

 *  Resolved [alissit](https://wordpress.org/support/users/alissit/)
 * (@alissit)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/slides-offset/)
 * Hi, thanks for adding the offset to the sliders.
 * Is it possible to add this effect to the JSON so that different offsets can be
   used on mobile vs desktop?
 * How built out is that JSON on the backend?
 *     ```wp-block-code
       For example:{"0": {"slidesPerView": 1.5,"spaceBetween": 30,"slidesOffsetBefore": 20},"500": {"slidesPerView": 2,"slidesOffsetBefore": 30},"900": {"slidesPerView": 2.5,"slidesOffsetBefore": 50},"1200": {"slidesPerView": 4,"slidesOffsetBefore": 70}}
       ```
   

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

 *  Thread Starter [alissit](https://wordpress.org/support/users/alissit/)
 * (@alissit)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/slides-offset/#post-18341604)
 * Just tested it and it works, which is great.
 * Can all the usual Swiper properties be added in this fashion?
 *  Plugin Author [digitalapps](https://wordpress.org/support/users/digitalapps/)
 * (@digitalapps)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/slides-offset/#post-18439195)
 * Hello, with JSON you can add any options from the official API. If something 
   isnt working as expected, let me know.

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

The topic ‘Slides Offset’ is closed to new replies.

 * ![](https://ps.w.org/wp-swiper/assets/icon-256x256.png?rev=2402464)
 * [WP Swiper](https://wordpress.org/plugins/wp-swiper/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-swiper/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-swiper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-swiper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-swiper/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [digitalapps](https://wordpress.org/support/users/digitalapps/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/slides-offset/#post-18439195)
 * Status: resolved