css file not recognizing outputclass

Post here questions and problems related to editing and publishing DITA content.
NovaNowhere
Posts: 3
Joined: Fri Dec 09, 2022 7:58 pm

css file not recognizing outputclass

Post by NovaNowhere »

I am trying to remove my footer on just my cover page. it isn't a traditional cover page, it is just a .dita file (cover.dita)

i have
cover.png
cover.png (26.84 KiB) Viewed 303 times
attached a picture of the cover.dita page and the pdf output is ignoring this:

Code: Select all

@page cover-page{
    @bottom-left {
        content: "";
    }
}
and still putting the footer on this page.
this is frustrating because it did work once but i can't find the version of the css where it worked.
All other options are working on the output so I have linked the correct file

here is the entire CSS

Code: Select all

@page cover-page{
    @bottom-left {
        content: "";
    }
}
Attachments
image.png
image.png (12.3 KiB) Viewed 303 times
julien_lacour
Posts: 498
Joined: Wed Oct 16, 2019 3:47 pm

Re: css file not recognizing outputclass

Post by julien_lacour »

Hello,

Do you have a rule declaring page: cover-page for this topic?
Without this declaration, this topic will not use this page and the @page cover-page rules will not be applied.

Regards,
Julien
Post Reply