- This topic is empty.
-
AuthorPosts
-
April 6, 2011 at 7:08 am #32248aoeuiParticipant
hi there mates,
little question
cant figure out a way how to style google custom search results and how to tweak the .CSSI saw
https://css-tricks.com/video-screencasts/29-google-search-for-your-site/read documentation on google webmaster tools
still something missinghow can you change the styling of the final output?
April 6, 2011 at 7:16 am #52147aoeuiParticipantApril 6, 2011 at 7:18 am #52148jamygoldenMemberIt’s in an iframe, so unfortunately you can’t. You can only customize it VIA google (The colours, etc).
April 6, 2011 at 12:58 pm #51983aoeuiParticipanthi there
@ jamy_za
yes I used iframe
I hosted the search field + extra result page on my web
as mentioned in CSE settingsdo you think it is better to use the option whre GOOGLE offers fully customisable layout and CSS ?
@eric
I might use FireBug to determine details
using it every day and this time teh idea just missed me :DApril 6, 2011 at 2:03 pm #51986aoeuiParticipant5 hours of reading on GOOGLE help forum + documentation
found my solution and it works :)
http://code.google.com/intl/en/apis/customsearch/docs/ui_xml.htmlApril 7, 2011 at 12:26 am #51905jamygoldenMemberThe previous page discussed how you can use the control panel to customize the look and feel of your search box and search results. This page discusses how you can implement the customization using the context file, which is the XML specification for your search engine.
What you’re doing now is basic customization which you can change in the options area. Are you using GSE through adsense or not? I use it through adsense and I have those options.
May 15, 2011 at 3:09 pm #76018aoeuiParticipantno AdSense
the xml file did it for me quite good and in easy way :]thanks for help
May 31, 2011 at 9:56 pm #74726BumpmanMemberAdd the following line to your CSS to get rid of the watermark:
.cse input.gsc-input,input.gsc-input{background-image:none !important}
November 18, 2011 at 11:56 am #90920nikitaMemberWith the new API I did it this way with CSS:
input.gsc-input {
….
background:url(/path/to_your_bg.gif) no-repeat 0% 0% white !important;
…
}Bye
keywords: change custom google search input field watermark
November 18, 2011 at 11:59 am #90921nikitaMemberSorry, it doesn’t go away with focus… ;^(
March 10, 2014 at 5:25 am #165268vasaivirarpropertyParticipanti haved used gse css in advance search using google custom search
css i used is as follows :
/* Use a different font family for search results */
.gs-title, .gs-snippet {
font-family: courier;
}/* Add a border between individual search results */ .gs-webResult { border: 1px solid #eee; padding: 2px; } /* Do no display the count of search results */ .gsc-result-info { display: none; } /* Hide the Google branding in search results */ .gcsc-branding { display: none; } /* Hide the thumbnail images in search results */ .form .gsc-thumbnail { display: none; } /* Hide the snippets in Google search results */ .gs-snippet { } /* Change the font size of the title of search results */ .gs-title a { font-size: 14px; } /* Change the font size of snippets inside search results */ .gs-snippet { font-size: 12px; } /* Google Custom Search highlights matching words in bold, toggle that */ .gs-title b, .gs-snippet b { font-weight: normal; } /* Do no display the URL of web pages in search results */ .gsc-url-top, .gsc-url-bottom { display: none; }
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.