How to create a custom look for the Home Page

Halst
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 20, 2017

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 answer

0 votes
Minh Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 5, 2018

@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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events