Having an issue.. I am working on a website where each page is managed through Google Drive. I need to change the CSS styling of only the first image on one specific page. Using :first-child won't work because the HTML structure contains "p > span > img" throughout. When trying p > span > img:first-child {css}, it applies the style to every image, not just the first one. Can anyone offer assistance?
Apologies for any language errors and thank you in advance
The first image is not within the first paragraph, so using $('p > span > img').first().css('prop':'value') doesn't work.
If I try this method, every image inside a paragraph will end up with the same attribute.