1

This might be a simple question, but with Channel Forms, the documentation says:

<link href="{path=css/_ee_channel_form_css}" type="text/css" rel="stylesheet" media="screen">

I see a channel_form.css file in themes>cp_themes>default>css, but I'm wondering: how does Channel Form see that file? Or am I supposed to copy the file, rename, and place in css folder elsewhere? I guess I'm not getting how this "path" works.

1

You shouldn't have to worry about location of the ee channel form css in a default ee install. The {path=css/_ee_channel_form_css} variable will automatically be replaced when the template is parsed and point to the correct css. Just use:

<link href="{path=css/_ee_channel_form_css}" type="text/css" rel="stylesheet" media="screen">

If you need to you can always override parts of it with inline css, other css loaded after, or through javascript.

| improve this answer | |
0

Known bug for EE3. View temporary fix here: https://support.ellislab.com/bugs/detail/21711/channel-form-css-meta-not-working

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.