• Resolved mbtafan

    (@mbtafan)


    The background color only shows for text I type in the footer container. But the lists do not show a background color. How can I get the background color to show for the lists?

    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    		<div id="footer">
    If I type text here, it has a background. But the following lists
    don't get a background.
    	<div class="footer-item">
    	<ul>
    	<h2>Articles by Subject</h2>
    	<?php wp_get_archives('type=postbypost&limit=4')?>
    	</ul>
    	</div>
    	<div class="footer-item">
    	<ul>
    	<h2>Articles by Publication</h2>
    	<?php wp_list_categories( 'style=none');?>
    	</ul>
    	</div>
    	<div class="footer-item">
    	<ul>
    	<h2>Favorite Sites</h2>
    	<?php wp_list_bookmarks('title_li=&categorize=0'); ?>
    	</ul>
    	</div>
    		</div>
Viewing 1 replies (of 1 total)
  • Thread Starter mbtafan

    (@mbtafan)

    style.css code:

    #footer{
    background:gray;
    border-top: 3px solid black;
    }
    
    #footer-home{
    background:url(images/sound.jpg);
    background-repeat:none;
    }
    
    .footer-item{
    float: left;
    width:33%;
    padding-bottom:10px;
    }
    
    .footer-item ul{
    padding-left:15px;
    list-style-type:none;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘background color only shows in part of the footer’ is closed to new replies.