Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove shadow from glyphicons in bootstrap carousel

I have a bootstrap carousel on my site. The right and left arrow glyphicons which come with it are surrounded by a square grey box of shading. I was wondering if someone could tell me how to remove the shading so I just have the arrows. Do I have to overwrite bootstrap's css somehow?

like image 577
user4583569 Avatar asked Mar 10 '15 11:03

user4583569


2 Answers

I've had this issue before, just add this as bootstrap offers the shadow as a background image or/and as a filter

.carousel-control.left, .carousel-control.right {
   background-image:none !important;
   filter:none !important;
}

And as suggested before i would change the opacity, but to 1

like image 75
jsg Avatar answered Nov 17 '22 06:11

jsg


just add <style="background-image: none;"> in .carousel control

like image 1
Ashish Jha Avatar answered Nov 17 '22 06:11

Ashish Jha