Re: CSS include order

2013-10-24 Thread Martin Grigorov
Hi, 1) You can use FilteredHeaderItem to group the site-wide CSS in the beginning of the body, for example. 2) You can use PriorityHeaderItem to put component ones at the top 3) You can use custom header item comparator to re-order them on your custom criteria See

Re: CSS include order

2013-10-24 Thread Nick Pratt
Thanks Martin. I figured out a slightly simpler approach (which I think works, please correct me if Im mistaken) - I added the site-wide CSS to my BasePage in Java rather than a simple include ref in the markup : @Override public void renderHead( IHeaderResponse response ) { super.renderHead(

Re: CSS include order

2013-10-24 Thread Martin Grigorov
On Thu, Oct 24, 2013 at 4:00 PM, Nick Pratt nbpr...@gmail.com wrote: Thanks Martin. I figured out a slightly simpler approach (which I think works, please correct me if Im mistaken) - I added the site-wide CSS to my BasePage in Java rather than a simple include ref in the markup :

CSS include order

2013-10-23 Thread Nick Pratt
Is there a quick/simple way to ensure that our site-wide CSS is included last (as included in our BasePage.html head section), after all other Components have contributed their CSS files? N