Repeating Group background color alternating rows
In this Bubble tutorial series we give our top tips for working with repeating groups in Bubble.io. In this video we demonstrate how to add alternating rows in a repeating group.
Unlock the power of stripes: Learn how to add eye-catching alternating row colors to your repeating groups in Bubble!
Master the modulo magic: Discover the secret function to effortlessly create striped tables and enhance your app's visual appeal.
Elevate your Bubble skills: Transform your repeating groups with a simple yet powerful technique for alternating background colors.
Adding Stripes to a Repeating Group
How can I add a stripe to either the odd or the even rows in a repeating group? Hi, I'm Matt, I'm a Bubble coach and Bubble educator and if you're learning Bubble and you find this video useful please hit like and subscribe. You can find hundreds of Bubble tutorial videos exclusive to our members at planetnocode.com so if you're serious about learning Bubble, head over there and get yourself a membership to access our full Bubble tutorial library.
Setting Up the Repeating Group
Right, let's add a stripe to this repeating group. I'm going to do a process which involves a function that I don't see many people talking about in Bubble. The first thing I'm going to do is set the background style to flat and to white. Now all of the cells in my repeating group have got a background color of white.
Using the Modulo Function
Then I'm going to say when current cell's index modulo 2 is 0. It's basically saying if the current cell's index is divided by 2 and the remainder is 0, I'm going to change the background color. Let's make it a nice gray. We'll preview that.
Result and Conclusion
There you go, now I've added stripes to my repeating group. If you found this video useful, like and subscribe is loved by us and the team. You can always just give us a thanks or you can give us a little donation by buying me a coffee if you found this video useful.
Can't find what you're looking for?
Search our 300+ Bubble tutorial videos. Start learning no code today!
3 ways we support solopreneurs
Our team is here to help, with a combined 30+ years working for internet startips.
Learn Bubble
Explore our library of 300+ Bubble and no code tutorial videos. Watched by over 800k no coders on YouTube.
Bubble Coaching
Troubleshoot your Bubble app and build new no code features with our in house Bubble expert.
Mastery
Ready to take your SaaS idea to the next level? Join our exclusive Mastery program for personalised content & mentoring.