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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

832 views 2 9
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