How to call Page Template in CSS


How can I call a Page Template in CSS in Confluence. I have created a page called 'Menu 2' in which I put simple html code to generate a top menu navigation bar. Now everytime I create a new Confluence page, I call this menu using {include:menu2}

My question is : how can I call this template page in css, so it won't be necessary for me to put the {include:menu2} code evrytime I create a new Confluence Page?

thanks in advance for your help!

1 answer

This widget could not be displayed.

Couldn't you just put your HTML code on every page by inserting it under Look&feel-->"custom HTML" ? As I understand you want your code being executed on evrey page or am I getting sth. wrong?

Cheers Christian

Hmmm the custom HTML will apply to the whole Confluence instance. I want it for a specific Space only.

How about creating a page template that you can reuse. Wouldn't be automatic though but still faster than using the include macro all the time...

Suggest an answer

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

466 views 6 6
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