react-image-gallery icon indicating copy to clipboard operation
react-image-gallery copied to clipboard

Color of bullet navigation

Open holzru opened this issue 10 years ago • 4 comments

Can the feature of being able to color the bullets that display where you are and allow click navigation be added or does it exist, in which case can it be pushed to public readme. It just suffers when the pictures have a white background.

holzru avatar Nov 03 '16 00:11 holzru

Never mind I went through the code and found it it's under class image-gallery-bullet if anyone is curious

holzru avatar Nov 03 '16 00:11 holzru

Side note you have to use the !important tag, because life

holzru avatar Nov 03 '16 00:11 holzru

You don't need !important if you are specific enough. The below snippet should work as long as its declared after the initial declaration of the class.

.image-gallery-bullets .image-gallery-bullet {
  &.active {
    background: $your-own-color;
  }
}

xiaolin avatar Nov 03 '16 03:11 xiaolin

Got it, thanks I will try that out.

On Nov 2, 2016 8:18 PM, "Xiao Lin" [email protected] wrote:

You don't need !important if you are specific enough. The below snippet should work as long as its declared after the initial declaration of the class.

.image-gallery-bullets .image-gallery-bullet { &.active { background: $your-own-color; } }

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/xiaolin/react-image-gallery/issues/110#issuecomment-258056934, or mute the thread https://github.com/notifications/unsubscribe-auth/AO9GjsJuyIa3jV4k36ZnTuA8yizNFWGSks5q6VJ9gaJpZM4Kn5d2 .

holzru avatar Nov 03 '16 03:11 holzru