Custom field name font size

I’ve searched and searched and can’t figure out where or how to change the font size of the custom field names. Does anyone happen to know how to do this?

Thanks!

Phil McLachlan
Norfield LLC

I’ve searched and searched and can’t figure out where or how to change the
font size of the custom field names. Does anyone happen to know how to do
this?

Use CSS? :wink:

This may or may not be a simple task depending on your circumstances.

You could:

Create a site specific module and put a CSS file there. Or you could
go to the theme editor and make some changes.

The “id” of the CFs are going to cause headaches, so be aware of that
if you need to use IDs.

-m

[bringing this thread back to rt-users]

Thanks for your reply Matt :).

I have no programming experience (disclaimer) but am willing to jump in head first. I setup 4.2 on a headless Ubuntu Server. The change would be universal to all the custom fields so I don’t think I would need to deal with ID’s. The font size for the custom field titles is extremely small and would just like it to be bigger.

Here are a couple snippets from a Ticket/Create.html rendered page:

You can see the table cell with class “cflabel”.

Are the files in the /Elements folder what control this stuff, or are you referring to Perl modules in Apache?

It does look like the EditCustomField mason components are in
share/html/Elements. I would stay away from there and stick to CSS
only.

I was referring to a perl module. It’s not exactly in Apache. I don’t
know if there are (good?) online docs for how to create an RT module.

You can avoid the site specific RT module and just make changes to your theme.

/Admin/Tools/Theme.html

Perhaps a CSS snippet like:

td.cflabel {
font-size: 150%;
}

You may need to make the selector more specific so that the font-size
gets applied, but that is all CSS-foo.

-m

Thanks for your reply Matt :).

I have no programming experience (disclaimer) but am willing to jump in head first. I setup 4.2 on a headless Ubuntu Server. The change would be universal to all the custom fields so I don’t think I would need to deal with ID’s. The font size for the custom field titles is extremely small and I would just like it to be bigger.

Are the files in the /Elements folder what control this stuff, or are you referring to Perl modules in Apache?

Please excuse my total lack of experience.

Thanks!

Phil McLachlan
Norfield LLC-----Original Message-----
From: Matt Zagrabelny [mailto:mzagrabe@d.umn.edu]
Sent: Thursday, July 23, 2015 3:02 PM
To: Phil McLachlan
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Custom field name font size

On Thu, Jul 23, 2015 at 4:47 PM, Phil McLachlan PhilM@norfield.com wrote:

I’ve searched and searched and can’t figure out where or how to change
the font size of the custom field names. Does anyone happen to know
how to do this?

Use CSS? :wink:

This may or may not be a simple task depending on your circumstances.

You could:

Create a site specific module and put a CSS file there. Or you could go to the theme editor and make some changes.

The “id” of the CFs are going to cause headaches, so be aware of that if you need to use IDs.

-m