Skip to content

Hide content in PDF export #358

Closed Answered by Jumas
schlami asked this question in Q&A
Discussion options

You must be logged in to vote

Where would I put this CSS?

In the project's administration pane -> PDF Export -> CSS:

If this css goes anywhere in Polarion, the wiki block would be always skipped not just when converted by SBB PDF exporter.

This CSS will be applied during SBB PDF export only.

If there was a possibility to hide the footer and the header for x pages, this would probably help

There was already discussion about this (#74 (comment)).
If you need to hide header/footer not just on the first page then you can use something like this:

@page :nth(1), :nth(2), :nth(3) {
    border-bottom: none;
    @top-left {
        content: "";
    }
    @top-center {
        content: "";
    }
    @top-right {
        c…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Jumas
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
3 participants
Converted from issue

This discussion was converted from issue #342 on January 28, 2025 08:37.