Opened 14 years ago

Closed 10 years ago

#5659 closed defect (worksforme)

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

Reported by: rajeshgarugu@… Owned by: Ryan J Ollos
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 Ryan J Ollos 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Ryan J Ollos

Attachment: Header.png added

comment:1 Changed 10 years ago by Ryan J Ollos

Owner: changed from Noah Kantrowitz to Ryan J Ollos
Status: newassigned

comment:2 Changed 10 years ago by Ryan J Ollos

Resolution: worksforme
Status: assignedclosed
  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:

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.