Angular ngx-swiper-wrapper arrow style change

Discussão em 'Angular' iniciado por 256, Setembro 29, 2024.

  1. 256

    256 Guest

    I previously created a swiper (ngx-swiper-wrapper) and I changed the color of the arrows the following way:

    ::ng-deep.swiper-button-next::after, ::ng-deep.swiper-button-prev::after {
    color: $primary-light;
    }


    Now I created another one on a different page where the color should be black. The problem is when I visit the page with the first swiper and then I navigate to the other page with the second swiper, the color stays the white.

    Is there a better way to change the color or a workaround?

    Thanks

    Continue reading...

Compartilhe esta Página