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
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

156 views 3 4
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