NOTE: You can modify running content for whole sections (front matter, parts, chapters, and back matter) on any updated theme by going to Appearance > Theme Options > PDF Options and scrolling down to the Running Heads & Feet section.
Most themes in Pressbooks will include running content on all PDF section title pages by default, unless you've modified its setting in order to remove running content from the section completely.
However, we understand that some users will prefer to remove running content from only the first page of a section. You can make this customization in your book's CSS by going to Appearance > Custom Styles > PDF. Use the instructions below to add this change to Your Styles.
To remove only the content string and not the page number:
1. Identify the section or sections that you'd like to remove the running content from in your CSS, and find their correlating content properties. To remove running content from the first page of a chapter, for example, you'd find this:
@page chapter:first:right
and
@page chapter:first:left
NOTE: These come in pairs of right and left, so be sure to get both.
2. Copy and paste this text from the Theme PDF Styles to Your PDF Styles
Example:
@page chapter:first:right {
@bottom-right {
content: "" string(section-title) "" '\A0\A0|\A0\A0' counter(page); } }
@page chapter:first:left {
@bottom-left {
content: "" string(section-title) "" '\A0\A0|\A0\A0' counter(page); } }
3. Modify the string. Remove section-title and replace it with "blank," as such:
@page chapter:first:right {
@bottom-right {
content: "" string(blank) "" '\A0\A0|\A0\A0' counter(page); } }
@page chapter:first:left {
@bottom-left {
content: "" string(blank) "" '\A0\A0|\A0\A0' counter(page); } }
4. Click Save to save your changes.
To remove the content string and the page numbers:
1. Follow steps 1 and 2 from above.
2. Remove the string and counter and replace with "none"
Example:
@page chapter:first:right {
@bottom-right {
content: none !important; } }
@page chapter:first:left {
@bottom-left {
content: none !important; } }
3. Click Save to save your changes.
NOTE: Pressbooks cannot offer comprehensive techncial support for customizations to a book's CSS. See our user guide for further instructions on how to customise your CSS.
Comments
0 comments
Please sign in to leave a comment.