ID Attribute CSS help

Hi

I am pretty new to CSS and I’m having issues working out how to set up my HTML embed with its own ID Attribute so I can edit each video on my page with different CSS, at the moment the CSS I’m using is affecting all the videos on my page and I dont want this.

https://imgur.com/a/QtxztVD

I have attached an image of the code I’m using along with the ID attribute I have assigned.
If someone could help me out with how to edit the CSS that would be great.

Thanks in advance.

If you have different video elements on the page, assign each one their own unique ID attribute and then you can have your css setup accordingly.

Sorry, didn’t watch the video as the site you host it on requires me to remove my adblocker.

If they are in an RG, add to the element ID the current cell’s index to get them unique.

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.