maximan
Member
Posted 10 months ago #
I want to search in a Notes field but this requires that the Notes field be displayed. otherwise it's not included in the drop-down menu. This Notes field is quite large (textarea) and fills up half the screen. Ideally I'd like to either control the width of the Notes column or have that field included in the searchable fields. Is this possible?
http://wordpress.org/extend/plugins/participants-database/
maximan,
Yes, you can only search displayed fields, but your problem can be addressed in your theme stylesheet. When the list of records is displayed, a text area is enclosed in a span element of class 'textarea'— you can style that to get your textareas to display just the way you want.
maximan
Member
Posted 10 months ago #
Sorry, but theme stylesheet tweaking (Suffusion) doesn't come naturally to me. Is there some 'texture' code you can suggest I should add that will allow me to modify the list display? TIA
maximan,
Well, I can't get too specific, but you can, for instance, set the size of the container for the textarea, then it will try to fit the text in there. It will scroll if there's too much text.
something like:
.pdb-list .textarea {
display:block;
width: 200px;
height: 100px;
overflow:auto;
}
maximan
Member
Posted 10 months ago #
That's great. It does what I wanted. I just wish I knew enough about theme stylesheets to work your magic. On a related question, I have set overall typeface and font within the theme back-end options but I'm wondering if there's a way to override the theme stylesheet for a specific page or specific .pdb_list?