-
Sencha User
How to set background images for sencha touch 2 carousel indicator
I would like to have a different image for each dot in the carousel indicator, looking like a button. Is that possible to do? Thanks
-
Sencha Premium User
Hi hcm_gwt, yes it's possible. Carousel indicators are spans within .x-carousel-indicator, so in your stylesheet you can do something like .x-carousel-indicator span:nth-child(1){ background-color: none; background-image: url(images/your-image.png); } to target the 2nd indicator. The saying is trustworthy and deserving of full acceptance, that Christ Jesus came into the world to save sinners, of whom I am the foremost.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules