Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter stixy

    (@stixy)

    oh im sorry, I didnt know that.
    this is in my header.php

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml">
    <head profile="https://gmpg.org/xfn/11">
    <?
    $theTitle=wp_title(" - ", false);
    if($theTitle != "") {
    ?>
    <title><?php echo wp_title("",false); ?></title>
    <?
    }
    else{
    ?>
    <title><?php bloginfo('name'); ?></title>
    <?
    }
    ?>
    
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="cache-control" content="no-cache" />
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/imghover.js"> </script>
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/favicon.ico" type="image/x-icon" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    </head>
    
    <body>
    <div class="BGC">
    <!-- start header -->
    
     <div class="Header"><div class="LS"></div>
      <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
       <p class="Desc"><?php bloginfo('description'); ?></p>
      </div>
    
     <div class="Menu">
      <div class="MTL"></div><div class="MTR"></div>
       <ul>
       <li><a class="<? echo (is_home())?'on':''; ?>" href="<?php echo get_option('home'); ?>/"><span>Home</span></a></li>
    <?php
    $pages = wp_list_pages('sort_column=menu_order&title_li=&echo=0');
    $pages = preg_replace('%<a ([^>]+)>%U','<a $1><span>', $pages);
    $pages = str_replace('</a>','</span></a>', $pages);
    echo $pages;
    ?>
      </ul>
     </div>
    Thread Starter stixy

    (@stixy)

    thanks for your help! but when i insert the code my whole header is gone.
    and yeah i want my top banner changed with every refresh.
    I tried many other changes in my php with this like:

    **/ * html .Header { height: 500px;} /* */
    .Header { background: url(images/header_<?php echo(rand(1,2)); ?>.jpg) repeat-x left top; width: 1000px; position: relative; clear: left; padding: 0px; min-height:500px;}

    almost everything is in my style.css , I dont even have an ID in my header.php

    someone said its because the theme I have is build differently(Illacrimo theme by Design Disease)

    Thread Starter stixy

    (@stixy)

    yeah I meant the whole upper banner, i found some stuff on the internet to edit my header.php but almost everything is in my style.css like this:

    /**/ * html .Header { height: 500px;} /* */
    .Header { background: url(images/header_1.jpg) repeat-x left top; width: 1000px; position: relative; clear: left; padding:
    0px; min-height:500px;}

    dont know if it helps.

    and im going to try the random.php right now.

    thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)