Skip to content

Instantly share code, notes, and snippets.

@toddparker
Created January 24, 2022 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toddparker/13fd180e64bbc610a79bd2cd0eaa0d2d to your computer and use it in GitHub Desktop.
Save toddparker/13fd180e64bbc610a79bd2cd0eaa0d2d to your computer and use it in GitHub Desktop.
<!-- Paste thsi code right before the end of the body tag in your template -->
<style>
.gs-web-image-box, .gs-promotion-image-box {
float: right !important;
}
.gs-web-image-box .gs-image, .gs-promotion-image-box .gs-promotion-image {
max-width: 180px !important;
max-height: 180px !important;
padding-left: 20px;
margin-top: -40px;
width: expression(this.width >180 ? '160px': true);
height: expression(this.height > 180 ? '160px': true);
border: 1px solid transparent;
}
.gsc-control-cse, .gsc-control-cse .gsc-table-result {
margin-right: 40px;
font-style: normal;
line-height: 135%;
}
.gsc-thumbnail-inside, .gsc-url-top {
padding-left: 4px;
padding-right: 64px;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment