Hide specific elements within the template - content formatting

J July 23, 2013

Hi,

I am trying to hide a few elements from the export directly through the css.

For example, we are using the Expand macro and we don't want the Click here to expand... text and arrow to show in the pdf. We only need the contents within the macro to show in the pdf (when the macro is expanded).

We want to do this for all Expand macros.

I have come across the Scroll Ignore macro but we need to individually add this for each Expand macro that we have.

Is there a way I can hide it through the template? (A bit of a newbie with css)

I have tried to get the element name and use the following code:

.expand-control-text {
display: none;
}

But the macro text is still appearing in the PDF. This code works with the Confluence PDF Stylesheet.

Am I missing something?

Thanks.

1 answer

0 votes
J July 29, 2013

For those who are having the same issue:

I have submitted a request to K15t and have been advised that they will try to include this in the next release 3.0 or one of the upcoming releases.

They have also mentioned that they have their own expand-macro and to try that:

http://blog.k15t.com/2013/07/expando-macro-for-confluence%3A-collapse-and-expand-headings

I haven't tried it as yet.

J August 1, 2013

K15t have confirmed that this will be fixed in Scroll PDF Exporter 3.0.

Thanks K15t guys!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events