Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

143
Views
How can i change "SlidesPerView: 4;"?
var swiper = new Swiper(".new-arrival", {
  slidesPerView: 4, 
  centeredSlides: false,
  spaceBetween: 30,
  autoplay: {
    delay: 5500,
    disableOnInteraction: false,
  },
  pagination: {
    el: ".swiper-pagination",
    type: "fraction"
  },
  navigation: {
    nextEl: ".swiper-button-next",
    prevEl: ".swiper-button-prev"
  }
});

i want to change SlidesPerView: 4; to SlidesPerView: 1; when its gonna be max-width 390px how can do it?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Add this to your code.

var swiper = new Swiper(".new-arrival", {
  slidesPerView: 4, 
  centeredSlides: false,
  spaceBetween: 30,
  breakpoints: {
  390: {
    slidesPerView: 1,
    spaceBetween: 0
  },
  autoplay: {
    delay: 5500,
    disableOnInteraction: false,
  },
  pagination: {
    el: ".swiper-pagination",
    type: "fraction"
  },
  navigation: {
    nextEl: ".swiper-button-next",
    prevEl: ".swiper-button-prev"
  },

});

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!