Modify

Opened 5 years ago

Closed 16 months 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

Description

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 16 months ago.

Download all attachments as: .zip

Change History (3)

Changed 16 months ago by rjollos

comment:1 Changed 16 months ago by rjollos

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

comment:2 Changed 16 months 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="http://www.w3.org/1999/xhtml"
          xmlns:xi="http://www.w3.org/2001/XInclude"
          xmlns:py="http://genshi.edgewall.org/"
          py:strip="">
      <!--!
        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:
    
          http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
      -->
      <!--! 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>
    </html>
    
  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

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.