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

486
Visualizações
How to customize arrows styling to react-responsive carousel

I'm using react responsive carousel but I want to style the slide arrow. I found google that i can change the style in this file, which is located in the node module folder

react-responsive-carousel/lib/styles/carousel.min.css

I opened the file and I tried to change the color of the next arrow the CSS class

.carousel .control-next.control-arrow:before { border-left: 8px solid #fff; }

but it doesn't work?

how can I change the style of the arrow?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

So, I haven't worked with the npm package you are mentioning. But in my experience with other NPM packages. If you want to adjust the default styling, you could overwrite the styling by using the same classnames and add the styling into your globals.css file. Or even in a different CSS file, you can import into your component.

Example:

// ./styles/globals.css

.carousel .control-next.control-arrow:before { border-left: 8px solid #fff; }

I don't think its recommended to make the adjustment directly in the node_modules.

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