N2S

Topic: Categories are Displayed Uppercase in Category View

USES: display your category correctly. (first letter is uppercase)

QUICK EXAMPLE:
default - Jobs in technology
after - Jobs is Technology

(notice the "T" in Technology is uppercase.)

OPEN: /_templates/category.tpl

Code:
FIND:
        <h2>
                    {$translations.category.jobs_for} {$current_category}</a>
        </h2>

REPLACE WITH:
        <h2 id="none">
                    {$translations.category.jobs_for} {$current_category}
        </h2>

OPEN: /css/screen.css

Code:
FIND:
a {color:#0099CC; background-color:transparent;text-decoration:none;}
a:hover {color:#0099CC; background-color:transparent; text-decoration:underline;}

ADD AFTER:
div#job-listings h2#none {text-transform:capitalize !important;} // displays your categories with uppercase letters correctly

DEMO: (after installation)
http://i33.tinypic.com/amflh5.jpg

WARNING! If you Installed The RSS Category Icon on your site please be careful when installing this modification!

http://www.jobberbase.com/forum/topic80 … -view.html

*Look below for a better modification that will eliminate al the under-scrolls _ into blank spaces!*

Last edited by N2S (2008-12-01 23:33:19)

http://i34.tinypic.com/2affofk.png

NewEnergyJobs

Re: Categories are Displayed Uppercase in Category View

N2S, thank you for sharing your improvements with us.

N2S

Re: Categories are Displayed Uppercase in Category View

NewEnergyJobs wrote:

N2S, thank you for sharing your improvements with us.

no problemo mister! (=

Here is a better solution that I use..
use: {$current_category_name}
instead of: {$current_category}

this will eliminate all the under-scrolls _ and replace them with blank spaces

Last edited by N2S (2008-12-01 23:31:41)

http://i34.tinypic.com/2affofk.png

evertsemeijn

Re: Categories are Displayed Uppercase in Category View

@N2S To resolve your RSS Category Icon you can add a class to the h2#none (h2 id="none" class="current_category"). You can even add more classes to an element by leaving a space between the two classes (like class="uppercase text-transform current_category")

Member of Jobberbase Development Team - Templates/Usability :: Looking for installation and/or custom design? :: Beautiful Wordpress themes

nht48823

Re: Categories are Displayed Uppercase in Category View

Is there a way having no Categories at all? I tried removing all categories in admin area but when posting a new job I get an error...