cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Form CSS not invoked - v- 4.8
June 3, 2007
7:11 pm

Using v. 4.8 of this excellent plug in, but cforms.css is not invoked (nor any other theme's CSS). The script that inserts it into the header seems not to be working, it does not appear in the source of the target page at all. 

Viewed in Firefox 2.0 an Apache on Mac, as well as Firefox 2.0 on Windows.

Otherwise one of the best designed plugins I've ever used. 


June 3, 2007
7:21 pm

I'm having the same issue, however I've found that it works fine in Firefox.  But for some reason the CSS and JS do not load in IE.

June 3, 2007
7:43 pm
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

Anyone cares to share the URL, that would help :-)

June 3, 2007
10:13 pm

I'm running it on a local MAMP server, so no URL to show, but I think I discovered the problem.

I'm using a custom theme for WP (v. 2.2). I tried the contact form with WP's default theme, and the stylesheet was called.

Are you using something inherent in the default theme, or specifying that the script be written to header.php? Not everyone uses a file by that name – particularly when using WP as a CMS, not a blog.

If so, it's worth mentioning in the documentation that the form stylesheet link is written to header.php by your plugin and requires that file.

If that is not the problem, I'm stumped.

Still love the plugin – and your blog, too.

June 3, 2007
10:35 pm
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

Thanks David. It's quite common practice for plugins to add code to the header, whether it be JS code or inline CSS or CSS links.

cforms comes with its own stylesheets, which all need to reside in the styling/ directory. The styles used should not interfere with any of the actual WP theme CSS. On the contrary, often times cforms users experience layout issues due to their WP theme "overruling" cforms CSS.

To add the header code (CSS link to cforms CSS file) cforms uses the standard way of adding header info. Not sure if WP when used in a CMS mode has issues with that…of course you can hard code the CSS information into the overall theme CSS file…

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3762

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5361

Posts: 18742

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)