Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluence searchbox customization

poonam chaudhari June 21, 2012

In chrome it looks:

In mozilla it looks:

I am applying css to the seachbox to change its look but its working in mozilla not in chrome.Searchbox appears different in chrome.I have attached the screenshot for your reference.CSS code i am using is :

background: none repeat scroll 0 0 #FFFFFF;
border: 1px solid #E24C30;
border-radius: 5px 5px 5px 5px;
height: 23px;
padding: 1px 9px;
width: 380px;

2 answers

1 accepted

1 vote
Answer accepted
Dennis Kromhout van der Meer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 21, 2012

Are you sure that you're doing this on OnDemand? As we do not allow css customizations due to platform restrictions. Next to the css rules, can you please provide your full css including the css selector that you're using? It might be that Chrome is not succesfully picking that up.

poonam chaudhari June 21, 2012

Yes.I am doing all the changes in custom Stylesheet.I am not using any css selector. i am just changing the confluence

#header .quick-search-query {
width: 13em;
}
class to
.quick-search-query
{
background: none repeat scroll 0 0 #FFFFFF;
border: 1px solid #E24C30;
border-radius: 5px 5px 5px 5px;
height: 24px;
padding: 0px 9px;
width: 382px;
margin-top:6px;
}

.quick-search-query {
width: 29em;
}
which works in mozzila but not in chrome.

0 votes
Harley Flanagan June 26, 2012

for chrome:

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
display: none;
}
input[type="search"]{
-webkit-appearance: none;
-webkit-box-sizing: content-box;
outline:none;
}

poonam chaudhari June 28, 2012

Thanks a lot it works..

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events