Archived topic
Making Google Custom Search button smaller in Top Bar
3 replies · Started by RJ on August 11, 2018
Viewing posts 1–4 of 4
I have added GCS to my Top Bar, however the button is a bit big. Is there a way to make it smaller.
Hi there,
The styles are coming directly from the plugin itself so GP has no control over it.
This is from the greensky.css that's giving its style:
.cse .gsc-search-button-v2,
.gsc-search-button-v2 {
font-size: 0px;
padding: 6px 27px;
width: auto;
vertical-align: middle;
border: 1px solid #94cc7a;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
margin-top: 2px;
border-color: #94cc7a;
background-color: #B5C9AB;
background-image: -webkit-gradient(linear,left top,left bottom,from(#B5C9AB),to(#B5C9AB));
background-image: -webkit-linear-gradient(top,#B5C9AB,#B5C9AB);
background-image: -moz-linear-gradient(top,#B5C9AB,#B5C9AB);
background-image: -ms-linear-gradient(top,#B5C9AB,#B5C9AB);
background-image: -o-linear-gradient(top,#B5C9AB,#B5C9AB);
background-image: linear-gradient(top,#B5C9AB,#B5C9AB);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#B5C9AB',EndColorStr='#B5C9AB');
}
OK thanks (as always) Leo. Do you ever take a break ;-)
No problem :)
This archived topic is closed to new replies.