Well, the question is already in the title.
The search widget is about 280px wide, and I just need to make it about 200px to fit to my tool bar.
Michael,
Try using the following css:
.arcgisSearch .searchGroup .searchInput {
width:100px;
}
Regards
Anthony
Hi Michael,
Did is defined in the esri.css stylesheet (look inside it for.arcgisSearch .searchGroup .searchInput ). You could override it with your own css.
Thank you Richard,
I have already played with that css selectors however without success. Here is jsfiddle if you wish to have a look:
search widget width - JSFiddle
My tries are commented out, so far nothing worked...
Richard thank you very much. I just didn't realize that I have to use all three selectors, till I read Anthony's answer. So I am marking Anthony's answer as correct one, but it is just because it was more obvious to me. I wish I could mark both as correct.
Big THANK YOU to both of you.
You can also mark answers as being helpful in addition.
thanx for suggestion, I did that...
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.