• Ahhh, I made one teeny tiny change to the theme yesterday and my whole blog is a huge mess. All I did was remove a badge from my header and now the sidebar is all over the place and the header is a wreck. I downloaded my theme and went through line by line with a fine-tooth comb but can’t find the problem. Perhaps someone could tell me where to look?
    My site is http://www.gigabiting.com
    usually there is one sidebar column on the right.

    Any help is appreciated.

    Janice

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator cubecolour

    (@numeeja)

    </div> id= "container">

    is probably your problem – it looks like you may have been overzealous with deleting stuff in your header.php and removed more than you should have.

    I can’t test whether it would work, but i would try replacing the line above with

    </div>
    <div id="container">

    Thread Starter gigabiting

    (@gigabiting)

    thanks. I was away from the computer for a few minutes, but will give it a shot right now. I will let you know…

    Thread Starter gigabiting

    (@gigabiting)

    no change… this is my header code now

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”&gt;

    <html xmlns=”http://www.w3.org/1999/xhtml”&gt;

    <head>
    <meta name=”google-site-verification” content=”4CT93tFT8q4U-fgb_L-A13gh5Nb6tnkwBCQ5Thn2mZs” />
    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <link type=”text/css” rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” />
    <link type=”application/rss+xml” rel=”alternate” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <meta name=”description” content=”<?php bloginfo(‘description’); ?>” />

    <?php wp_head(); ?>

    <!–[if IE]><style>
    #searchsubmit {
    padding: 3px;
    }
    </style><![endif]–>

    <!–[if lt IE 7]><style>
    #header h1 span {
    background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=’images/gradient-shine.png’, sizingMethod=’scale’);
    }
    </style><![endif]–>

    </head>
    <body>

    <div id=”wrapper”>

    <div id=”header”>
    <div id=”header-left”>
    /” title=”<?php bloginfo(‘description’); ?>”><h1><span></span><?php bloginfo(‘name’); ?></h1>
    <div><?php bloginfo(‘description’); ?></div>
    </div>
    <div class=”header-right”>
    <form method=”get” id=”searchform” action=”<?php bloginfo(‘url’); ?>/”>
    <label class=”hidden” for=”s”><?php _e(‘Search for:’); ?></label>
    <div>
    <input type=”text” value=”<?php the_search_query(); ?>” name=”s” id=”s” />
    <input type=”submit” id=”searchsubmit” value=”Search” />
    </div>
    </form>
    <div id=”rss”>
    </div>
    </div>

    </div>

    </div>
    <div id=”container”>

    If I look at the validation errors I would say that you either have too many closing div tags (</div>) at the wrong place, or you moved a piece of code to where it doesn’t belong.

    Try to balance the divs…

    Peter

    Thread Starter gigabiting

    (@gigabiting)

    Thanks. I’ll keep trying.

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

The topic ‘sidebar and everything floating around’ is closed to new replies.