Modify

Opened 8 years ago

Closed 5 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

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 Ryan J Ollos 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by Ryan J Ollos

Attachment: Header.png added

comment:1 Changed 5 years ago by Ryan J Ollos

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

comment:2 Changed 5 years ago by Ryan J Ollos

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

Modify Ticket

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

Add Comment


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

 
Note: See TracTickets for help on using tickets.