Plugin Directory

Changeset 371097


Ignore:
Timestamp:
04/10/2011 07:28:31 AM (15 years ago)
Author:
cochran
Message:

small formatting changes. ( shouldn't require new version. )

File:
1 edited

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");
    32
     3if ( !$_GET['genesisopt_width'] ) {
     4    $width = 300px;
     5}
    46if ( $_GET['genesisopt_width']  && $_GET['genesisopt_no_pair'] == 0 ) {
    5 $width = $_GET['genesisopt_width'];
    6 $width .= "px";
     7    $width = $_GET['genesisopt_width'];
     8    $width .= "px";
    79}
    810if ( $_GET['genesisopt_height'] == '' ) {
    9 $height = "auto";
     11    $height = "auto";
    1012} else {
    11 $height = $_GET['genesisopt_height'];
    12 $height .= "px";
     13    $height = $_GET['genesisopt_height'];
     14    $height .= "px";
    1315}
    1416
    1517if ( $_GET['genesisopt_no_pair'] == 1 ) { ?>
    1618
    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    }
    2628
    2729<?php
Note: See TracChangeset for help on using the changeset viewer.