Show/Hide Title and Subtitle in pdf target
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 34
- Joined: Fri Dec 02, 2016 9:55 pm
Show/Hide Title and Subtitle in pdf target
Post by IsleofGough »
I have a reasonable pdf output from a DITA Bookmap file using custom HTML/CSS now, but would like to display the subtitle (but not the title) on the title page (since the cover image already has title and author). I imagine this requires modifying some xpath rule, but I don't really know where to start with this. How can one hide or display the Title, Alt-Title (subtitle), and Author on the front-cover page using a CSS rule? Thanks.
-
- Posts: 667
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Show/Hide Title and Subtitle in pdf target
Post by julien_lacour »
Hello,
As susannecm mentioned, you just need to use the display: none CSS property, like this:
Regards,
Julien
As susannecm mentioned, you just need to use the display: none CSS property, like this:
Code: Select all
*[class ~= "bookmap/mainbooktitle"] {
display: none !important;
}
Julien
-
- Posts: 34
- Joined: Fri Dec 02, 2016 9:55 pm
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service