Home › Forums › CSS › :first-child is not working for me… › Re: :first-child is not working for me…
December 3, 2012 at 3:34 pm
#116177
Member
First item-page should be `.item-page`, but assuming that one was just a copy-paste typo. Well h1 is the first-child of item-page, rather than h2. If you’d want the h2 to get that style, maybe you would be looking for `:first-of-type` selector.