Custom Coding

I adjusted the codes based on dynamic classes. If you change the page structure, it won’t work. The part I don’t understand is how many colors will be stacked on top of each other exactly? Or will there be different colors only in the ‘arrow’ area? It would be better if you could provide a bit more detail!