Streaming live at 10am (PST)

How to make a script run inside the cart?

Hello guys ! :blush:

I’m having trouble trying to make jQuery change a div color inside the Ecommerce shopping cart.

This is the simple script I am trying to run:

$(document).ready(function(){
 $(".cart-name").css("background-color", "yellow");
});

It can definitely change the background color of an .cart-name div outside the shopping cart, but it does not affect the background color of a .cart-name div inside it, which is what I am trying to achieve.

Do you guys happen to have any guess on why is that not working ?

Thank you for the help :heart: