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 Sign up to answer
Community showcase
Published Thursday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

220 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