Find Questions…

Close ×
First time here? Check out the FAQ!

Is there a way to limit the display of page titles with page tree

Moshe Naveh asked this question · 6 karma ·

Hi,

I'm using pagetree macro in Confluence 3.2.1. Some of the pages have really longs titles. Is there a way to limit its length in a way that it doesn't corrupte the display of the page tree?

Thank you!

269 views

One Answer:

Sandro Herrmann [Communardo] · 1,965 karma ·

Hello,

a small and simple way is using CSS. Insert the following CSS code to your "Administration" > "Custom HTML" > "At the end of the BODY"-part

<style type="text/css">

.plugin_pagetree_children_span a {
overflow: hidden;
display: block;
width: 150px;
white-space: nowrap;
}
</style>

With this code the title max lengt in the pagetree is 150 pixel. Tested this code whith my CF 4.0.3

I hope it works for your 3.2 too.

Looking for something else?

Find Questions…

or Browse other questions tagged:

or Ask a Question