On Mon, Jul 28, 2014 at 1:03 PM, Jared Bownds <jared.bow...@gmail.com>
wrote:

> Hi Ryan,
>
>
> 2. Add site.html to your Environment templates directory:
> http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance (the
> first code snippet in that section is what you want to copy to site.html)
>
> Response:  Is this the code I want to add in *site.html* contained within
> my environments template directory?
>
>
> *site.html*
>
> <html xmlns="http://www.w3.org/1999/xhtml";
>
>       xmlns:py="http://genshi.edgewall.org/";
>
>       py:strip="">
>
>    <!--! Add site-specific style sheet -->
>
>   <head py:match="head" py:attrs="select('@*')">
>
>     ${select('*|comment()|text()')}
>
>     <link rel="stylesheet" type="text/css"
>
>           href="${href.chrome('site/style.css')}" />
>
>   </head>
>
>   <body py:match="body" py:attrs="select('@*')">
>
>     <!--! Add site-specific header -->
>
>     <div id="siteheader">
>
>       <!--! Place your header content here... -->
>
>     </div>
>
>      ${select('*|text()')}
>
>     <!--! Add site-specific footer -->
>
>     <div id="sitefooter">
>
>       <!--! Place your footer content here... -->
>
>     </div>
>
>   </body>
>
> </html>
>
>
>
> 4. Add the following to site.css as a test case:
> body.resolution_is_signed { background-color: #f5deb3; /* wheat */    }
>
> Response:  I've done this, and also tried variations such as
> *body.resolution_is_closed* and I am not seeing the desired results, with
> any color background i.e. #0000FF
>

That site.html looks correct.

I can assure you that the recipe does works since I tested it out, so we
just have to debug where things went wrong in your setup. Do you see
site.css on the ticket page when viewing the page source?

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to