WordPress.org

Make WordPress Core

Changeset 13190


Ignore:
Timestamp:
02/18/2010 04:46:40 AM (8 years ago)
Author:
nacin
Message:

Use background-position, as background-position-x has incomplete browser support (Webkit and IE6+ only, no Firefox or Opera). See #12186

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r13189 r13190  
    14081408    $position = get_theme_mod('background_position', 'left');
    14091409    if  ( 'center' == $position )
    1410         $position = 'background-position-x: center;';
     1410        $position = 'background-position: top center;';
    14111411    elseif ( 'right' == $position )
    1412         $position = 'background-position-x: right;';
     1412        $position = 'background-position: top right;';
    14131413    else
    1414         $position = 'background-position-x: left;';
     1414        $position = 'background-position: top left;';
    14151415    $attachment = get_theme_mod('background_attachment', 'fixed');
    14161416    if ( 'scroll' == $attachment )
Note: See TracChangeset for help on using the changeset viewer.