Changing CSS attribute using Jquery css() not applying on items in


Um trying to edit the color of a card div with a variable retrieved from a server … It worked with me by calling the div by id… but once the div is included in an <ion-slide> it does not work…

any ideas how could i do it?