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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Drop shadow CSS on header

I'd like to add a drop shadow on the header (and maybe make it a little taller than it currently is. What CSS do I need on the style sheet?

Latest confluence server edition. 

Thank you

1 answer

1 accepted

Hello, if you mean the page title for a particular page, I would add the following to the Global Stylesheet:

html #title-text a {
text-shadow: 2px 2px 5px rgba(128,128,128, .6);

Giving something like this (text shadow on the page title):

Screenshot 2020-09-23 at 09.30.32.png

If you mean making the actual header, then something like this will help:

body.theme-default #header {
position: fixed; /* needed because otherwise,
the header is behind the left menu bar,
and the box-shadow won't be seen*/
top: 0; /* place at the top of the page */
width: 100%;
z-index: 101; /* put the header in fronnt of the left menu bar */

box-shadow: 0 0 10px rgba(128,128,128,.8); /** the shadow */

body.theme-default .ia-splitter {
margin-top: 41px; /* push the main content below the header */

If you need the header to be larger, add some height to body.theme-default #header and increase the margin-top on body.theme-default .ia-splitter.

Aside: Here's another trick you can do to add header photos on pages :)

it was the latter, but thank you :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

26 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you