Okay
  Public Ticket #180105
Carousel arrows change color
Closed

Comments

  • Tony started the conversation

    Hi Nectar. Really enjoy working in Salient.

    Question: How do I change the color of the carousel arrows . . . both static & hover. Thanks.

  •  8,839
    Tahir replied

    Hey Tony!

    Add this into the Custom CSS box located in your Salient Options panel:

    1:To Change arrow color:

    .swiper-container .slider-prev > i {  color: red; }
    .swiper-container .slider-next > i { color: red; }

    2:To change background color:

    .swiper-container a.slider-prev:hover, .swiper-container a.slider-next:hover {
    	background-color: rgba(0,0,0,0.8);
    }
    .swiper-container a.slider-prev, .swiper-container a.slider-next {
    	background-color: rgba(0,0,0,0.2);
    }
    

    Cheers


    ThemeNectar Support Team 

  • Tony replied

    Awesome Tahir!!

  •   Tony replied privately
  • Diego replied

    Can I remove the arrows?

  •  8,839
    Tahir replied

    Hey Diego!

    Add this into the Custom CSS box located in your Salient Options panel :
    .swiper-container .slider-prev > i {  display:none !important; }
    .swiper-container .slider-next > i { display:none !important; }
    Thanks


    ThemeNectar Support Team 

  • Diego replied

    Hi Tahir. I added the code but it's not working. 

    Please, take a look: http://myblindstoday.com/products/

    What am I doing wrong?

  •  8,839
    Tahir replied

    Hey Again!

    Add this into the Custom CSS box located in your Salient Options panel :
    .swiper-container .slider-prev {
        display: none !important;
    }
    .swiper-container .slider-next {
        display: none !important;
    }
    
    Thanks


    ThemeNectar Support Team 

  • Diego replied

    Hi Tahir, I updated the CSS box with the code but the arrows are still showing.

    Please take a look http://myblindstoday.com/products/

    right below " We Carry Many Brands These are our favorites"

    Thank you

  •  8,839
    Tahir replied

    Hey Again!

    Add this into the Custom CSS box located in your Salient Options panel :
    html .ascend .carousel-heading .container .carousel-prev,html .ascend .carousel-heading .container .carousel-next {
        display: none !important;
    }
    
    Thanks


    ThemeNectar Support Team 

  • Diego replied

    This worked! Thank you as always, Tahir