Forum How do I...?

different headers in different parts of the book?

pablonolla
Hi!

I'm doing a book with 2 theatre plays by the same author.
I've set left pages to show the author name:
@page :left {
	    @top-center {content: "Mr. Taylor";}
}
@page :right {
	    @top-center {content: "Play#1";}
}

The book –and each play– has several sections, some of them without content on those top-center parts.

What i need is to change the content of the @page: right to "Play#2" from a particular page on.

How could I do this?

Thank you!!



mikeday
Try using named pages, like this:
@page headerless:right {
    @top-center { content: none }
}

div.headerless { page: headerless }

You will need to wrap up the content in <div class="headerless"> and there will be a page break before and after it.
pablonolla
Thank you so much for the quick response.
I'll try that.
Best!
p