Text on front page

Post here questions and problems related to editing and publishing DITA content.
MWdal
Posts: 26
Joined: Thu Jun 09, 2022 2:49 pm

Text on front page

Post by MWdal »

Hello,
I would like to insert a text block on the front page, efter the title and above the footer. Is there a way to do that in the css files?
We use v24.1, transformation scenarios: both pdf based on html & css, and Webhelp.

regards, Mikael
julien_lacour
Posts: 559
Joined: Wed Oct 16, 2019 3:47 pm

Re: Text on front page

Post by julien_lacour »

Hello Mikael,

For PDF you can follow the "How to Add Text to the Cover Page" topic from our user-guide.
You can then adapt your code to do the same thing in WebHelp Responsive output:

Code: Select all

@media screen {
  .wh_content_area::after {
    display: block;
    content: "DRAFT VERSION";
    font-size: large;
    color: red;
    text-align: center;
    margin-top: 1in;
  }
}
Regards,
Julien
Post Reply