.title
.title:first-child
.title:first-of-type

all work.


On Wed, Jan 30, 2013 at 9:46 AM, Philip Schatz <notifications@github.com>wrote:

> In css/ccap-biology.less:
>
> > @@ -235,13 +235,16 @@ div.section .titlepage .abstract {
> >      margin-top: -0.03in;
> >    }
> >
> > -  .title {
> > +  .title:first-of-type { display: none; } //supress title in pdf (webview only)
>
> Instead of :first-of-type would > .title have worked? or > .title:first?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Connexions/oer.exports/pull/47/files#r2827884>.
>
>