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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • 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

Is there a way to force Title Case to headings?

Is there a way to style the Headers to always use Title Case? I found a JavaScript method that can do this: https://github.com/gouch/to-title-case  I just don't know how or if I can use this with Confluence (server).

I have thousands of headings that I would like to change to Title Case. WAY back, it was decided to only capitalize the first word of a title. When I inherited everything almost 6 years ago, I just kept with the style because it would just be too overwhelming to change everything. (This drives me crazy.) I've started manually updating the main headers (page titles?) but I'm looking for an automatic way. Maybe I'd have a better chance of winning the lottery than to find something like this?

 

1 answer

1 accepted

0 votes
Answer accepted

Hello Kimberly,

Thank you for contacting us about this.

It is possible to use Javascript in Confluence Server. See How to use Javascript in Confluence Server for more details.

You'll need to customize the script to change the specific heading elements (h1, h2, etc.) It will require that you have a bit of knowledge on Javascript. Have a look here for more information how to do that: How to Change HTML Elements in JavaScript.

Let us know if you have any questions.

Regards,

Shannon

Great!! Is it possible to set this up for just ONE space or will this be for all of the spaces that we have? I'd rather mess up only space if I do something wrong than all of them. ;)

Thanks!

Kimberly,

You could use the suggestion from How to call a javascript from every page of a Confluence space.

Note that I haven't been able to test this myself as I'm not very familiar with javascript, but let us know if you have any issues.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

408 views 23 8
Join discussion

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