I think there is no changeing layer of an element. The order of elements defined by creation order??
Adding class with z-index not worked for me.