Embed not rendering / working in designer or published site

Hello everyone !

I was hoping I could get some help figuring out why any code I have in my embed element does not work (whether published or not) .Its just some simple CSS which should even render in the designer but for some reason does nothing.

Even when I paste it in the code areas @ project settings or page settings it still has no effect. Any help will be much appreciated ! Thank you!

Here’s my read only link

and this is the code I have been trying to use

<style>
.serviceImage {
object-fit : cover;
}

.serviceItem:nth-child(even) {
    		flex-direction: row-reverse;
    }
    
</style>
1 Like

Hey @boafo

Not sure why, but adding a new image with a new class works fine…See here > https://www.loom.com/share/cb29cd5c93e34d909f5bf82d74e02946

Piter :webflow_heart:

1 Like

Changing the class names fixed the issue although I still wonder why that would happen . I appreciate your help !

1 Like

Yea…me too. It’s strange but still a solution :smiley:

Happy to help :webflow_heart:

Closing the topic