Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

173
Visualizações
Swiper arrows not visible and pagination is shot off of the bottom of the page (not the bottom of the slides)

I enabled swiper for the page that I am building and I have the following settings for it:

  const swiper3 = new Swiper('.ingredients-swiper', {
    grabCursor: true,
    direction: 'horizontal', 

    pagination: {
      el: '.swiper-pagination',
    },

    navigation: {
      nextEl: '.swiper-button-next',
      prevEl: '.swiper-button-prev',
    },

    scrollbar: {
      el: '.swiper-scrollbar',
    },
  });

These are basically the default settings that I have copy/pasted from the get started page of Swiper.

The problem is that the pagination controls and arrows are nowhere to be found.

Arrows have display: none and pagination is set to the bottom, but the bottom of the screen, and not the bottom of the slides.

A live preview can be seen here:

https://www.bangcookies.com/pages/ingredients?preview_theme_id=120521556066

I have followed the structure as described in the documentation:

<div class="ingredients-swiper">
  <div class="swiper-wrapper">
    <div class="swiper-slide"></div>
    ...restofslides...
  </div>
  <div class="swiper-pagination"></div>

  <!-- If we need navigation buttons -->
  <div class="swiper-button-prev"></div>
  <div class="swiper-button-next"></div>

  <!-- If we need scrollbar -->
  <div class="swiper-scrollbar"></div>
</div>
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I took a brief look at your example. Site looks very nice. When i adjusted your arrows from display:none to display:inline block your arrows will now appear.

Then your absolute positioning needs to be adjusted. In .swiper-button-next, .swiper-button-prev { }

Remove the top:50% and your arrows will display at the bottom or adjust as you need

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda