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

Home Forums CSS CSS Specificity Question? Reply To: CSS Specificity Question?


If you look at the font size of .entry-title, it will be 30 px because .feature-section .hentry .entry-title has more weight than .hentry .entry-title (and so the order doesn’t matter).

However, if you look at the LINK in .entry-title; both carry the same weight so here it DOES matter which comes last. Since the one with 22px comes after the one with 30px, it’ll be 22px.

So all in all, the text in .entry-title is 30px, but the link inside it is 22px.