Hi!
I am looking for the place where the size of the quicksearch field is defined.
I am running 0.8 and have the quicksearch included into the _lift_ sidebar.
Size of the input field is 13 - I need less. But I can't find, where this attribute
is set.
Thanks for helping me find this thing...
Greetings
Nicola
size of quicksearch field: where?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: size of quicksearch field: where?
You should be able to set the size of the quicksearch field via CSS. It has a unique ID which you can use to access it via CSS.
I think it even is used in the default Stylesheet...?
Regards,
Garvin
I think it even is used in the default Stylesheet...?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: size of quicksearch field: where?
Hi!
.serendipityQuickSearchTermField {
width: 100px;
}
Still It's too big. I doubt that any style via CSS will work here, since the _size_ is fixed inside the field-tag:
*** snip ***
<input alt="Suche" type="text" id="serendipityQuickSearchTermField" name="serendipity[searchTerm]" size="13" />
*** snap ***
So the size-Attribute will always overwrite styles from the stylesheet - if I understand CSS and HTML right... So I'd love to kill this 'size="13" somewhere - where?
Greetings
Nicola
No, it isn't. I added a style:garvinhicking wrote:You should be able to set the size of the quicksearch field via CSS. It has a unique ID which you can use to access it via CSS.
I think it even is used in the default Stylesheet...?
.serendipityQuickSearchTermField {
width: 100px;
}
Still It's too big. I doubt that any style via CSS will work here, since the _size_ is fixed inside the field-tag:
*** snip ***
<input alt="Suche" type="text" id="serendipityQuickSearchTermField" name="serendipity[searchTerm]" size="13" />
*** snap ***
So the size-Attribute will always overwrite styles from the stylesheet - if I understand CSS and HTML right... So I'd love to kill this 'size="13" somewhere - where?
Greetings
Nicola
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: size of quicksearch field: where?
Actually the CSS will override it. But when you really used ".serendipityQuickSearchTermField" that is wrong; you'll need to use "#serendipityQuickSearchTermField". Also try if "width: 100px !important" would work?
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/