Forums

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

Home Forums CSS first-child issue Re: first-child issue

#108107
TheDoc
Member

It should be working fine. Do you have a link? Or even pasting the exact code could help.

Remember that when using first-child the element you are selecting must be the actual first child of your #content container. For example, if you had a header tag before the first .columns div, .columns:first-child will never be true.