Buy Now
Sign in

CSS files

ksorman , October 04 2007, 12:39
ksorman 23
October 04 2007, 12:39 #2596
Within the Form HTML code box, how do you specify that I have a joomla Css template?

I think this would be much easier, then trying to 'pull out' individual style sheets or bits of code for different text etc. which is what I am trying to do, but it isn't working!.

Since ChronoForm is 'within' Joomla - there must be a way to specify a css template file within the form HTML Code box, but what is the code to include this?

My path is this:

Andthe file name is template_css.css

Any ideas - many thanks in advance.
GreyHead 64
October 04 2007, 14:03 #2600
Hi ksorman,

If you have a Joomla css template installed then the css is loaded into every page in the page header so it should be available for you to use with ChronoForms.

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
jensenjl 1
January 23 2008, 00:37 #5114
I have css files that break the overall template if I include them with the template. Therefore they are loaded with the specific form they were designed for.

How would I include these files?

The same goes for javascript. I use jquery and that alone is several thousand lines of code which also breaks joomla. How would I add these javascript files?

Thank you,

Jamie Jensen
GreyHead 64
January 23 2008, 01:43 #5119
Hi Jamie,

To stop the css breaking the page it's probably best to put the form in a div with it's own id and then modify the css to only apply to this div.

Javascript is more difficult - if it breaks Joomla in general it will break Joomla in ChronoForms. It's more likely that your template or some specific Joomla components conflict - can you identify them and turn them off?

What are you using JQuery for? Is there some other way of gettign the same result?


PS Max is looking at getting ChronoForms validation to work with JQuery but not for a while yet I think.
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much