WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
[resolved] Search in field not displayed? (5 posts)

  1. maximan
    Member
    Posted 2 years 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/

  2. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. maximan
    Member
    Posted 1 year 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

  4. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    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;
    }
  5. maximan
    Member
    Posted 1 year 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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.