Skip to:
Content

BuddyPress.org

Changeset 4575


Ignore:
Timestamp:
06/29/2011 08:22:04 PM (14 years ago)
Author:
djpaul
Message:

Use a gradient for main header in place of the default header image.

Location:
trunk/bp-themes/bp-default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/_inc/css/default.css

    r4574 r4575  
    138138--------------------------------------------------------------*/
    139139#header {
    140     background-color: #283862;
     140    background: #23325b; /* Old browsers */
     141    background: -moz-linear-gradient(top, #23325b 0%, #25355f 15%, #394c79 100%); /* FF3.6+ */
     142    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#23325b), color-stop(15%,#25355f), color-stop(100%,#394c79)); /* Chrome,Safari4+ */
     143    background: -webkit-linear-gradient(top, #23325b 0%,#25355f 15%,#394c79 100%); /* Chrome10+,Safari5.1+ */
     144    background: -o-linear-gradient(top, #23325b 0%,#25355f 15%,#394c79 100%); /* Opera11.10+ */
     145    background: -ms-linear-gradient(top, #23325b 0%,#25355f 15%,#394c79 100%); /* IE10+ */
     146    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#23325b', endColorstr='#394c79',GradientType=0 ); /* IE6-9 */
     147    background: linear-gradient(top, #23325b 0%,#25355f 15%,#394c79 100%); /* W3C */
    141148    -moz-border-radius-bottomleft: 6px;
    142149    -webkit-border-bottom-left-radius: 6px;
  • trunk/bp-themes/bp-default/functions.php

    r4542 r4575  
    8484    if ( !defined( 'BP_DTHEME_DISABLE_CUSTOM_HEADER' ) ) {
    8585        define( 'HEADER_TEXTCOLOR', 'FFFFFF' );
    86         // No CSS. The %s is a placeholder for the theme template directory URI.
    87         define( 'HEADER_IMAGE', '%s/_inc/images/default_header.jpg' );
    8886
    8987        // The height and width of your custom header. You can hook into the theme's own filters to change these values.
Note: See TracChangeset for help on using the changeset viewer.