12-05-2011 02:30 PM
I have a 'Site' that I created in my Nuxeo instance that is going to be our default landing page for our users. However, I want to theme it to use our color scheme. Where can I edit the css for the default 'Site' template? In the source of the site apge, it looks like it is loading sites-styles.css into the screen.css for that page, but for the life of me I can't find it anywhere.
03-16-2012 12:59 PM
The theme definition for the web site is a bit... complex and we plan to rewrite it as soon as possible as we rewritten the theme edition for the JSF part. Any way, I will give you keys to do what you want. For the all web site theme definition look the /nuxeo-webengine-sites/src/main/resources/OSGI-INF/theme-contrib.xml file.
The definition of the theme is described by this extension point:
<extension target="org.nuxeo.theme.services.ThemeService"
point="themes">
<theme>
<src>
themes/theme-sites-setup.xml
</src>
</theme>
</extension>
If you look into this xml file you see how the page is structured (header, footer) and you have in it some css instructions.
The way to do what you want will be:
In fact to give you an overview of the structure of our old theme management is like this:
We have also a notion of a perspective, but I don't want to go mad. I let it digest 🙂
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.