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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

377 views 16 9
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