Ticket #12186: background-position-x.patch
File background-position-x.patch, 795 bytes (added by , 15 years ago) |
---|
-
wp-includes/theme.php
1404 1404 $repeat = 'background-repeat: repeat;'; 1405 1405 $position = get_theme_mod('background_position'); 1406 1406 if ( 'center' == $position ) 1407 $position = 'background-position : center;';1407 $position = 'background-position-x: center;'; 1408 1408 elseif ( 'right' == $position ) 1409 $position = 'background-position : right;';1409 $position = 'background-position-x: right;'; 1410 1410 else 1411 $position = 'background-position : left;';1411 $position = 'background-position-x: left;'; 1412 1412 $attachment = get_theme_mod('background_attachment'); 1413 1413 if ( 'scroll' == $attachment ) 1414 1414 $attachment = 'background-attachment: scroll;';