Hide specific elements within the template - content formatting


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?


1 answer

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:


I haven't tried it as yet.

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
Community showcase
Published Wednesday in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


197 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you