Support » Plugins and Hacks » [tip] Google Ajax Search Plugin – Play Nice in Sidebar

  • 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

  • The topic ‘[tip] Google Ajax Search Plugin – Play Nice in Sidebar’ is closed to new replies.