Direct image targeting to customize CMS elements

Hey there!

i have my design portfolio on webflow, and each project has slightly different assets to it, but I run it all through the webflow CMS because for the most part it fits my needs.

Only issue is occasionally on pages like the link below, I have to put a screenshot design in a space designed for something smaller (secondary logo mark). Until now that’s been fine as I’ve just been adding in a little line of custom CSS to override it and get things to display at the correct size. But for some reason I just can’t seem to get this one to work (first image on below link)

http://dmcg.co/projects/care-of

I’ve been using trying the below CSS which is the same approach i’ve used on other areas of the site with no problem normally, but I can’t get it to work this time…

body > div.image2 > img[src="http://uploads.webflow.com/57c85e2bae2e01bb1252106a/5aa19d63675235000147ba24_Image01.jpg"] {
max-width:900px !important;

}

Any help would be greatly appreciated!

Thanks in advance

David

resolved through using conditional elements in CMS