AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] Search Results Lowercase

6 Posts
2 Users
0 Reactions
1,131 Views
Posts: 27
 jim
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@jim)
Eminent Member
Joined: 6 years ago
[#15344]

The word or phrase that a user searches is showing up as all lowercase in the search results even though the CSS has text-transform set to none. It appears the text is getting converted and outputted to lowercase in the HTML itself. Is there a way to keep any uppercase letters as uppercase in the search results?


5 Replies
Tutrix
Posts: 1519
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@tutrix)
Noble Member
Joined: 6 years ago

@jim

the CSS formatting for this is empty in the wpforo style.css

#wpforo # wpforo-wrap .wpforo-search-wrap .wpforo-search-content .wpf-sword {}

probably formatted your Wordpress theme here

but you can add the following code to the custom code

#wpforo #wpforo-wrap .wpforo-search-wrap .wpforo-search-content .wpf-sword {
text-transform: none !important;
}

Dashboard > Forums > Settings > Style (custom css)


Posts: 27
 jim
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@jim)
Eminent Member
Joined: 6 years ago

Hi, the actual HMTL has already turned the word lowercase, though. The HTML is uppercase in the original post, but the HTML is lowercase in the search results. It's not the CSS affecting it.


1 Reply
Tutrix
(@tutrix)
Joined: 6 years ago

Noble Member
Posts: 1519
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@jim

Test the searchform here, there is no change to lowercase


Posts: 27
 jim
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@jim)
Eminent Member
Joined: 6 years ago

I see what's happening. If I search for "Test the searchform here" it keeps the HTML search results uppercase, but if I search for "test the searchform here" it converts the HTML to lowercase. Is there a way for the search results to reflect the original post regardless of how the user enters the search string?


Posts: 27
 jim
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@jim)
Eminent Member
Joined: 6 years ago

Any answers to this?


Share: