How to reproduce the Documentation theme "custom-top-menu" in the Global theme?

Some of our wikis use the Documentation theme with a 'customized' top menu:

1) accessible via this url: <domain-name> /wikis/display/ <keyspace> /custom-top-menu

2) displayed by this div:

<div id-"custom-top-menu"></div>

 

To change correctly the Documentation theme to the Global theme, how is it possible to keep this custom top menu?

1 answer

1 accepted

0 vote
Davin Studer Community Champion Jul 13, 2016

First off the "Global Theme" is simply the theme that is select in Confluence Admin as your default theme for a space unless overridden. With a base Confluence install you have two themes available Documentation, and Default. So, I believe you are asking how to the get this custom menu into the "Default theme". To do that you would need to edit the theme decorators, which are under Confluence Admin -> Look and Feel -> Layouts.

Thanks Davin for your feedback.

Indeed, it seems that the only way is to customize the 'Main Layout' in the wiki space administration.

So, I've added some HTML code in this 'Main Layout' template. However, this is now "hard coded" instead of referring to an external file like with the Documentation theme.

Would it be possible to call this external file?

Davin Studer Community Champion Jul 14, 2016

You can use the below syntax.

#parse ("/path/to/file.vm")

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,783 views 25 10
Join discussion

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