Forums

Use wp-cycle as header background? (1 post)

  1. coaster101
    Member
    Posted 2 years ago #

    I am trying to place a wp-cycle in my header to use as a background. While I can position it correctly, it is shown on top of the site title and navigation links:

    http://www.memphissigs.com

    How should I change the header to make it so that the slider is in the background?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    
    <head>
    
    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    
    <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
    
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php wp_head(); ?>
    </head>
    
    <body>
    
    <!-- wrap starts here -->
    <div id="wrap">
    
    	<!--header -->
    	<div id="header">
    		<h1 id="logo-text"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    		<p id="intro">
    		<?php bloginfo('description'); ?>
    		</p>
    		<div  id="nav">
    			<ul>
    <li<?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search() or (function_exists('is_tag') and is_tag()) ) { echo ' class="current_page_item"'; } ?>><a href="<?php echo get_option('home'); ?>">Home</a></li>
    <?php wp_list_pages('title_li=&depth=1'); ?>
    			</ul>
    		</div>
    	<div id="slideshow"><?php wp_cycle(); ?></div>
    		<form method="get" id="quick-search" action="<?php bloginfo('url'); ?>/">
    			<p>
    			<label for="qsearch">Search:</label>
    			<input class="tbox" id="qsearch" type="text" name="s" value="Search..." onfocus="if (this.value == 'Search...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search...';}" />
    			<input class="btn" type="submit" value="Submit" />
    			</p>
    		</form>
    	<!--header ends-->
    	</div>
    
    	<!-- content-wrap starts -->
    	<div id="content-wrap">

    http://wordpress.org/extend/plugins/wp-cycle/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags