Streaming live at 10am (PST)

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)

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=""] {
max-width:900px !important;


Any help would be greatly appreciated!

Thanks in advance


resolved through using conditional elements in CMS