Re:how to include a specific CSS file into my portlet?

"ghislain\.cussonneau" <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>




 > > > Hi,
> >> 
> >> I would like to include a CSS dynamique file, as for the default Jahia
> >> template it's a JSP file including a CSS definition using dynamique
> >> parameters...
> >> 
> >> As I'm testing my portlet I would like to make a test and incude it into
> >> the body because the header is cutting for a portlet... Later i will use
> >> attributes to propose my web template to include it into the header...
> >> 
> >> This is my later test:
> >> --------------------------------------------------------------------
> >> (...)
> >> 
> >> 
> >> " type="text/css">
> >> (...)
> >> --------------------------------------------------------------------
> > 
> > It's better to insert your CSS between tags.
> > The order of definition are very important. If your webapp CSS contains
> > some definitions with a name already used in the standard web_css.jsp your
> > new definitions needs to be in this order :
> > 
> > standard web_css.jsp
> > your webapp CSS
> > 
> >> 
> >> But it doesn't work... I tryed to include the content directly into
> > 
> > Accédez au courrier électronique de La Poste : www.laposte.net ;
> > 3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
> Ok, but I con't use the because it's a portlet, so jahia cut the
> header... I know how to do but I need to change the template of my web site
> and at this time i can't access to the source code...
> -- 
> 
> 
> 


So you can try to add your specific/redefined styles at the end of the standard web_app.css file like it already been done for the officials portlets.

Ghislain CUSSONNEAU

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.