search input is too small. It can only fit 2 word phrases which is not enough. especially when you search content by "Advanced search".
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | search-input-width-1258342-15.patch | 1.09 KB | Andreas Radloff |
| #5 | screenshot.png | 23.75 KB | robloach |
| #5 | 1258342.patch | 438 bytes | robloach |
| #4 | search.png | 27.09 KB | droplet |
| #4 | search-input.patch | 1.21 KB | droplet |
Comments
Comment #1
Bojhan commentedYes, can we do a little bit less though?
Comment #2
droplet commentedsure. any suggestion ? now is the default size of 40 (300px)
Comment #3
robloachInstead of doing this with CSS, could we just change the #size of the textfield so that it applies to all themes rather than just Bartik's?
Comment #4
droplet commentedMake sense, change it globally
Comment #5
robloachDoes Bartik really need to specify the width itself? I don't see any reason why Bartik has to change it.
Comment #7
robloach#5: 1258342.patch queued for re-testing.
Comment #8
droplet commented#5: 1258342.patch queued for re-testing.
Comment #9
droplet commentedLooks good.
Comment #10
catchWhich patch is RTBC? Both?
Comment #11
themesplanet commentedYes sure you can change the width of search input through css. Take class of input search button and write the css for it.
Comment #12
droplet commented@catch,
Patch #5: remove default style
Patch #4: remove default style and change form width (suggest from #1)
Comment #13
mukeysh commentedchange to RTBC.
Comment #14
webchickHm. I think what's needed here is a patch that combines the two approaches. It sounds like what we want here is to set the size differently in the form element itself, and then also remove the custom CSS override of e.g. Bartik to not respect that.
This sounds potentially easy to do, so tagging as Novice.
Comment #15
Andreas Radloff commentedAs requested by webchick, here's a patch combining:
1: remove width from Bartik search form css to make it wider.
2: Make search form smaller by setting width to 30 instead of forty on form element.
Comment #16
centas commentedTested the patch, seems to be working fine and does combine both approaches mentioned.
Comment #17
dries commentedCommitted to 8.x. Thanks.