How to create a custom look for the Home Page

Hello,

How can I create a custom look for the Home Page of a Space in confluence, different from the other pages ? I used custom CSS and HTML but it affects the whole space in confluence.

The space is for documentation, i have shortcuts in the Home page for various locations in the space, but these links are coded in the custom HTML. 

1 comment

@Halst I suggest you combine between both Javascript and CSS

The Javascript needs to identify if the current page is the home page then it will apply your custom CSS for that page only

You can use AJS.Meta.get('content-id') to get the current content id to compare with the home page content id

Comment

Log in or Sign up to comment
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 Jul 10, 2018 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 ...

631 views 21 11
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