Exclude a Page layout column when exporting to PDF - how?


Our wiki is set up so that it uses the page layout functionality to create two columns. The larger column to the left contains all the important content, so writing and pictures. The right one is used for the TOC and links etc.

We want to print the contents of the left column and not print the right column at all.

I'm sure this can be done by customising the space's CSS, but I've no idea how to do this. Can anyone help?

Thanks in advance.

2 answers

You must search the html code, find the two columns and then find a way to hide the second one but not the first one (which is difficult because there is no such thing like "first/second" in the code).

You can try with:

div.columnLayout.twoColumns .cell { display: none; }
div.columnLayout.twoColumns .cell:first-child { display: block; }


thanks for your help. I've edited the HTML for other pages, so in my experience this sort of thing works per page, but not en masse. Not being much of a coder, I'd assume that this isn't something that I could add to the CSS. But I'll give it a try and see what happens. :)


No, it is not a per page solution. The code I offered should be added to the CSS once and changes columns in all pages.

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

153 views 3 7
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot