cancel
Showing results for 
Search instead for 
Did you mean: 

How do I modify the Share Header in Alfresco 5.1?

padrefuture
Champ in-the-making
Champ in-the-making

How do I modify the Share Header in Alfresco 5.1?

It doesn't seem like the presentation.css is the answer. I can find the tags I need to change "alfresco-layout-LeftAndRight widgets" or "share-header-title" but cannot find the CSS file anywhere. Please help...

2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator

Modification of the Share header is best explained in the documentation​. If you want to adjust the styling of the header you should be aware that there is no central CSS file for the header. The header is composed of various granular components (that are not just used in the header) which provide their own CSS files. These are merged and LESS processed before being delivered to the client. The best option of modifying the styling is by looking into the base LESS variables used in the alfresco/header/Header widget and modifying these. Additionally you can configure inline styles on individual widgets of the header by using the configuration property "style".

davidcognite
Star Contributor
Star Contributor

In 5.1 the Share header is Aikau based - all the CSS is part of the Aikau distribution. Take a look at this tutorial in our docs for more information: Header with Menu and Title | Alfresco Documentation