Opened 7 years ago

Closed 4 years ago

#5659 closed defect (worksforme)

Can the background color of the logo & search bar be changed ?

Reported by: rajeshgarugu@… Owned by: rjollos
Priority: normal Component: PyDotOrgTheme
Severity: normal Keywords:
Cc: Trac Release: 0.11


Firstly, thank you very much for the theme. I am able to change the color for almost everything in the theme. Tried to change the color of top header area where the logo and the search bar are present, but couldnt.

Any suggestions please?

Attachments (1)

Header.png (5.6 KB) - added by rjollos 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by rjollos

comment:1 Changed 4 years ago by rjollos

  • Owner changed from coderanger to rjollos
  • Status changed from new to assigned

comment:2 Changed 4 years ago by rjollos

  • Resolution set to worksforme
  • Status changed from assigned to closed
  1. Put this in your $TRACENV/templates directory as site.html:
    <html xmlns=""
        This file allows customizing the appearance of the Trac installation.
        Add your customizations here and rename the file to site.html. Note that
        it will take precedence over a global site.html placed in the directory
        specified by [inherit] templates_dir.
        More information about site appearance customization can be found here:

      <!--! Add site-specific style sheet -->
      <head py:match="head" py:attrs="select('@*')">
        <link rel="stylesheet" type="text/css"
              href="${'site/style.css')}" />
  2. Put this in your $TRACENV/htdocs directory as style.css:
    div#banner {
     background: None;
     background-color: #0BC;

The result is:

Add Comment

Modify Ticket

as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.