Changeset 371097
- Timestamp:
- 04/10/2011 07:28:31 AM (15 years ago)
- File:
-
- 1 edited
-
genesis-post-teasers/trunk/css/teaserstyles.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
genesis-post-teasers/trunk/css/teaserstyles.php
r371091 r371097 1 <?php 2 header("Content-type: text/css"); 1 <?php header("Content-type: text/css"); 3 2 3 if ( !$_GET['genesisopt_width'] ) { 4 $width = 300px; 5 } 4 6 if ( $_GET['genesisopt_width'] && $_GET['genesisopt_no_pair'] == 0 ) { 5 $width = $_GET['genesisopt_width'];6 $width .= "px";7 $width = $_GET['genesisopt_width']; 8 $width .= "px"; 7 9 } 8 10 if ( $_GET['genesisopt_height'] == '' ) { 9 $height = "auto";11 $height = "auto"; 10 12 } else { 11 $height = $_GET['genesisopt_height'];12 $height .= "px";13 $height = $_GET['genesisopt_height']; 14 $height .= "px"; 13 15 } 14 16 15 17 if ( $_GET['genesisopt_no_pair'] == 1 ) { ?> 16 18 17 #post-teasers, .post-teasers-pair {18 clear:both;19 }20 #post-teasers .genesis-grid-even,21 #post-teasers .genesis-grid-odd {22 width:100%;23 float: none;24 height: auto;25 }19 #post-teasers, .post-teasers-pair { 20 clear:both; 21 } 22 #post-teasers .genesis-grid-even, 23 #post-teasers .genesis-grid-odd { 24 width:100%; 25 float: none; 26 height: auto; 27 } 26 28 27 29 <?php
Note: See TracChangeset
for help on using the changeset viewer.