Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Give the first picture a different class Re: Give the first picture a different class

#93615
Mottie
Member

@cnwtx Hey that does work! LOL I never knew there was a psuedo selector like that!

.home-post-wrap img:first-of-type {
border: #f00 3px solid;
}

Edit: Oh I see, no coverage for IE8 and below… not sure about IE9 IE9 supports it.