Bookmap to PDF via CSS

Post here questions and problems related to editing and publishing DITA content.
Tygopit
Posts: 21
Joined: Fri Nov 27, 2020 12:08 pm

Bookmap to PDF via CSS

Post by Tygopit »

Hi,

How to remove title from Notice section topic?

Regards,
Piotr
julien_lacour
Posts: 498
Joined: Wed Oct 16, 2019 3:47 pm

Re: Bookmap to PDF via CSS

Post by julien_lacour »

Hello,

Depending on your case you should have in your CSS style-sheet a selector looking like the following:

Code: Select all

*[topicrefclass~="bookmap/notices"] *[class~="topic/title"] {
    display: none;
}
To help you finding how the selectors are applied in your content you can debug the css.
If you debug your css, you can refine the rule I gave you and adapt it to your needs.

Regards,
Julien
Tygopit
Posts: 21
Joined: Fri Nov 27, 2020 12:08 pm

Re: Bookmap to PDF via CSS

Post by Tygopit »

Thanks, Julien

I'm sure that I was trying this one, with no luck.
Now, after copy/paste from your reply, works just brilliant. :D
Something was messed up during my previous try.

Thanks again,
Regards,
Piotr
Post Reply