Hide specific elements within the template - content formatting

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

This widget could not be displayed.

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.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

726 views 0 3
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