How to use CSS within OTRS

English! place to talk about development, programming and coding
Post Reply
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

How to use CSS within OTRS

Post by dstover »

I am trying to expand the width of a dynamic field and have been trying to do it through CSS. It appears that my CSS is being overridden by something else. I am merely trying to set a width of a text box dynamic field. is there some sort of trick to it that I am unaware of?

Please advise. Thanks...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: How to use CSS within OTRS

Post by reneeb »

Open the developertools of the browser (Ctrl+Shift+i for firefox), inspect the given element. Then you should get a list of applied css...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

Re: How to use CSS within OTRS

Post by dstover »

Is there any kind of an issue with the CSS cache in OTRS? Does this need to be deleted or refreshed somehow for things to work?

Thanks...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: How to use CSS within OTRS

Post by reneeb »

There's a script called otrs.DefaultLoader.pl that can be used to delete server side JS/CSS cache.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Post Reply