Ability to Change to Uppercase?

General ShopSite user discussion

Ability to Change to Uppercase?

Postby MarkB » Fri Mar 23, 2007 10:58 am

Is there any formatting tag that will convert text to uppercase?

When a user does a search on my website, they type in something like "water" and on my search results page I display:

"SEARCH RESULTS FOR: water"

I'd like to display the [-- SearchString --] in uppercase so I end up with

"SEARCH RESULTS FOR: WATER"

Any way to do this? Not a big deal, just cosmetic.

Thank-you,

Mark
MarkB
 
Posts: 31
Joined: Sat Sep 09, 2006 1:24 pm

Search String to Uppercase

Postby BFChris » Fri Mar 23, 2007 12:07 pm

You can probably use a CSS style sheet and apply the upper-case style to a new class for the search string. The just apply a "span class" to the Search String tag by modifying the search results template.

Barefoot Chris
---------------------
BarefootChris.net Web Design
www.barefootchris.net
----------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Postby MarkB » Fri Mar 23, 2007 1:06 pm

Thanks Chris! I didn't even think about doing it that way. I have it working successfully.

I know I could have used JavaScript also, but was looking for a simpler method, that was it!

Mark
MarkB
 
Posts: 31
Joined: Sat Sep 09, 2006 1:24 pm


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 85 guests