CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • No Text Visible in Search Box
Pages: [1]

Author Topic: No Text Visible in Search Box  (Read 517 times)

AudreyKate

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.24
No Text Visible in Search Box
January 26, 2015, 12:09:18 am
Hello!

I've just moved to CiviCRM 4.5.5 on Drupal 7, and I'm having a problem where no text shows up in the search box when I'm typing in it. It appropriately suggests results as I type, so the ajax functionality is working fine, but I just can't see the text I'm typing. Suggestions? Before I type, I can see "Find Contacts" in the box, but when I type, no text is visible. Do I need to increase the height of the menu bar? If so, where in the CSS do I make that adjustment?

Whew! This is a big upgrade for us, from D6 to D7 and from CiviCRM 3.4.4 up to 4.5.5. Now I just need to remember how to do things I did many years ago when I first set up the site -- like how to remove the little man icon from the public member directory and how to theme my Drupal user profile pages so they're not out-of-the-box hideous. Frustrating to have forgotten all those things! :-)

Thanks.

jaapjansma

  • I post frequently
  • ***
  • Posts: 247
  • Karma: 9
    • CiviCoop
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.4
Re: No Text Visible in Search Box
January 26, 2015, 01:11:08 am
Usually it works out of the box without changing the CSS.

Does the search works when you press enter?
Developer at Edeveloper / CiviCoop

AudreyKate

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.24
Re: No Text Visible in Search Box
January 26, 2015, 01:18:39 am
Yep. The search is working fine. It's just that the text I type is invisible.

I'd just suck it up and use it as is, but I'm concerned that it will impact usability for my admins.

jaapjansma

  • I post frequently
  • ***
  • Posts: 247
  • Karma: 9
    • CiviCoop
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.4
Re: No Text Visible in Search Box
January 26, 2015, 01:21:11 am
Does it work when you type last name or only first name?
Developer at Edeveloper / CiviCoop

AudreyKate

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.24
Re: No Text Visible in Search Box
January 26, 2015, 02:44:29 am
The search is fully functional -- I can type first name, last name, city, anything, and get Ajax suggestions. When I hit enter, the list of all contacts with that text string comes up. I just can't see what I'm typing.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: No Text Visible in Search Box
January 26, 2015, 05:29:11 am
Sounds like a conflict with your theme. My guess is that your website's theme is declaring some css rule that changes the text color in that box to white. Right-click on the search box and "inspect element" in your console to see what css rules are hitting it.
Try asking your question on the new CiviCRM help site.

AudreyKate

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.24
Re: No Text Visible in Search Box
January 26, 2015, 10:31:48 am
Thanks for that advice! It looks like it's just inheriting a lot of stuff, so it's hard to see exactly where that inheriting is coming from, but I'll experiment with adding a font color specifically for the class "ui-autocomplete-input" and seeing if that fixes the problem. I can, in fact, see the text when I highlight it, so white text may be the culprit.

jaapjansma

  • I post frequently
  • ***
  • Posts: 247
  • Karma: 9
    • CiviCoop
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.4
Re: No Text Visible in Search Box
January 27, 2015, 12:19:28 am
In Drupal you could also select a theme for CiviCRM. So setting this to bartik or some other default drupal setting could also solve the problem.
Developer at Edeveloper / CiviCoop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • No Text Visible in Search Box

This forum was archived on 2017-11-26.