• I’d really like to move the search bar from the sidebar to the space above the header image. I’d like it to the left–across from the social media buttons.

    Can anyone help me to do this? I’ve tried messing with the CSS, but I killed my whole layout and had to restore it. I know this is a dumb question, but how do I do this? I am sure it involves manipulating the header.php file, but I’m not sure where to place the code without screwing everything up.

Viewing 1 replies (of 1 total)
  • Thread Starter slocyclist.com

    (@slocyclistcom)

    I’ve posted the header.php code where I think the google search HTML should go. Hopefully, I did this right–I assumed someone would need to see it. Pardon my idiocy at code!!! ??

    `<!–[if lt IE 7 ]> <html <?php language_attributes(); ?> class=” ie6″> <![endif]–>
    <!–[if IE 7 ]> <html <?php language_attributes(); ?> class=”ie7″> <![endif]–>
    <!–[if (gt IE 7)|!(IE)]><!–> <html <?php language_attributes(); ?>> <!–<![endif]–>
    <head>
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <meta name=”viewport” content=”width=device-width; initial-scale=1.0; maximum-scale=1.0;” />
    <title><?php wp_title(‘|’, true, ‘right’); ?> <?php bloginfo(‘name’); ?> <?php if ( !wp_title(”, true, ‘left’) ); { ?> | <?php bloginfo(‘description’); ?> <?php } ?></title>
    <?php wp_head(); ?>
    </head>

    <body <?php body_class(); ?> >

    <div id=”canvas”>
    <?php $options = get_option( ‘grisaille_theme_options’ ); ?>

    <div class=”social-media”>`

Viewing 1 replies (of 1 total)
  • The topic ‘Putting search bar in the header’ is closed to new replies.