Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to change the distance between page title and content

Martin Johst November 5, 2012

Hello @ all,

is it possible to change/ decrease the dinstance between a page-title and the page-content.

Is there any way with CSS or so?

2 answers

1 accepted

0 votes
Answer accepted
Martin Johst November 13, 2012

To change it in all themes the best way is to go to Admin-Space => Look and Feel => Custom HTML.

At end of the HEAD

  <style type="text/css">
  .wiki-content h1{
   margin-top: 0px;
   margin-bottom: 0px;
}
h1.pagetitle{margin-bottom: -20px; margin-top: -20px;}
  </style>

#h1.pagetitle is the Pagetitle and the distance to the top
#To change the distance between the first healdline and Pagetitle insert .wiki-content h1 { margin-top: 0px;}

0 votes
Amalia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 6, 2012

You can add the following CSS to Confluence Admin > Stylesheet:

h1.pagetitle {
   margin-bottom: 0px;
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events