WordPress.org

Ready to get started?Download WordPress

Forums

[tip] Google Ajax Search Plugin - Play Nice in Sidebar (1 post)

  1. war59312
    Member
    Posted 6 years ago #

    Hi,

    Just thought I'd mention a simple fix to make google ajax search plugin play nice in your sidebar.

    Find:

    <link href="http://www.google.com/uds/css/gsearch.css" type="text/css" rel="stylesheet"/>
    <style type="text/css">

    Replace With:

    <link href="http://www.google.com/uds/css/gsearch.css" type="text/css" rel="stylesheet"/>
    <style type="text/css">

    /* Blog Results Width */
    .gsc-results .gsc-blogResult * {
    width: 175px;
    overflow: hidden;
    }

    /* Disable Branding In IE */
    .gsc-branding-img * {
    display: none;
    }

    /* Disable Blog URL */
    .gs-visibleUrl * {
    display: none;
    }

    So as you can see it stops the results from overflowing the sidebar and gets rid of the stupid google branding which only shows up in IE it seems. (After checking the Remove Google Branding/Logo option)

    Enjoy,

    Will

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 6 years ago by war59312
  • This topic is not a support question
  • WordPress version: 2.3