On Fri, 18 Oct 2013 11:58:10 +0200, Saint Germain <[email protected]>
wrote :
> >> For the moment I am replacing completely the original
> >> bloodhound_theme.html and it works but I am breaking the
> >> layout/color. I haven't yet check the css, but it seems that if
> >> you insert something before the main body container, it breaks the
> >> layout. That makes me wonder if there is a positional instructions
> >> in the CSS somewhere.
> >>
> >> Can someone advise me on how to proceed to have a reliable and DRY
> >> approach ?
> >>
> >> It seems that my need seems generic enough and there is no wiki
> >> page on the subject, so maybe I can help writing one ?
> >>
> >
> > TracInterfaceCustomization discusses the preferred approach of using
> > site.html for customizations like the one you describe. I'm not
> > sure about the CSS issue you are experiencing.
>
> For the CSS issue, I just insert a navbar just after the <body> and it
> seems to break the layout.
> I will send an example this evening.
>
Hello,
The reason for the CSS issue was easy to find in bloodhound.css:
.container:first-child {
...
}
So it is better not to insert something before the first container tag
in bloodhound_theme.html.
Regards,