Add white background to text in DJ Shows

  • Unknown's avatar

    Hello,

    I have a little experience with CSS but I need some help, please. I am using a plugin called radio station to allow our members to post about their individual shows. I am using the theme Theorn-Lite and it is formatted for 2011.
    http://kcr.sdsu.edu/show/kcr-sports-hour/
    I am looking to put a white background behind this this the other pages on the site.

    <?php
    /**
    * The Template for displaying all single playlist posts. Based on TwentyEleven.
    */

    get_header(); ?>
    <div id=”primary”>
    <div id=”content” role=”main”>

    <?php while ( have_posts() ) : the_post(); ?>

    <nav id=”nav-single”>
    <h3 class=”assistive-text”><?php _e( ‘Post navigation’, ‘twentyeleven’ ); ?></h3>
    <span class=”nav-previous”><?php previous_post_link( ‘%link’, __( ‘<span class=”meta-nav”>←</span> Previous’, ‘twentyeleven’ ) ); ?></span>
    <span class=”nav-next”><?php next_post_link( ‘%link’, __( ‘Next <span class=”meta-nav”>→</span>’, ‘twentyeleven’ ) ); ?></span>

    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <header class=”entry-header”>
    <h1 class=”entry-title”><?php the_title(); ?></h1>
    <?php if ( ‘post’ == get_post_type() ) : ?>
    <div class=”entry-meta”>
    <?php twentyeleven_posted_on(); ?>
    </div><!– .entry-meta –>
    <?php endif; ?>
    </header><!– .entry-header –>

    <div class=”entry-content”>

    <!– custom show output : This portion can be edited or inserted into your own theme files –>
    <div class=”alignleft”>
    <h3>Hosted by:</h3>
    <?php
    $djs = get_post_meta(get_the_ID(), ‘show_user_list’, true);
    $count = 0;

    if($djs) {
    foreach($djs as $dj) {
    $count ++;
    $user_info = get_userdata($dj);

    echo ”.$user_info->display_name.”;

    if( ($count == 1 && count($djs) == 2) || (count($djs) > 2 && $count == count($djs)) ) {
    echo ‘ and ‘;
    }
    elseif($count < count($djs) && count($djs) > 2) {
    echo ‘, ‘;
    }
    else {
    //do nothing
    }
    }
    }
    ?>
    </div>

    <div class=”station-genres alignright”>
    <h3>Genre:</h3>
    <?php
    //use this function instead if you would like the genres to link to an archive page
    //wp_list_categories( array(‘taxonomy’ => ‘genres’, ‘title_li’ => ”) );
    ?>

    <?php
    $terms = wp_get_post_terms( get_the_ID(), ‘genres’ );
    foreach($terms as $genre) {
    echo ‘
    ‘.$genre->name.’
    ‘;
    }
    ?>
    </div>

    <div style=”clear:both;”><hr /></div>

    <div class=”station-featured-image alignright”>
    <?php
    if(has_post_thumbnail()) {
    the_post_thumbnail(‘medium’);
    }
    ?>
    <?php if($show_email = get_post_meta(get_the_ID(), ‘show_email’, true)): ?>
    <p class=”station-dj-email”>”>Email the DJ</p>
    <?php endif; ?>

    <?php if($show_link = get_post_meta(get_the_ID(), ‘show_link’, true)): ?>
    <p class=”station-show-link”>”>Show Website</p>
    <?php endif; ?>
    </div>

    <?php the_content(); ?>

    <div class=”station-broadcast-file”>
    “>Most recent broadcast
    </div>

    <div class=”station-show-playlists”>
    <h3>Playlists</h3>
    <?php echo do_shortcode(‘[get-playlists show=”‘.get_the_ID().'” limit=”5″]’); ?>
    </div>

    <?php echo myplaylist_get_posts_for_show(get_the_ID(), ‘Blog Posts’, ’10’); ?>

    <!– /custom show output –>

    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘twentyeleven’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
    </div><!– .entry-content –>
    </article>

    <?php //comments_template( ”, true ); ?>

    <?php endwhile; // end of the loop. ?>

    <?php get_footer(); ?>

    The person who wrote this plugin said this is the file to change to do this but no instructions.
    Any help is more than appreciated.

    Thank you,

    Matt

    The blog I need help with is kcr.sdsu.edu.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    You are in the wrong forum for help with the site you have hosted. Please read the details about details about the different kinds of WordPress:

    WordPress.com vs. WordPress.org

  • The topic ‘Add white background to text in DJ Shows’ is closed to new replies.