cforms II User Forum

Registration is currently disabled.
Guest

FAQs

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
Firebug CSS Question
February 16, 2008
3:09 am
Mike
Guest

Please replace the ??? with your data!


I'm having an issue where the CSS styling will show up on my single post/comments, but will not show up when I place a form into a Wordpress page.  I know I have the wp_header (); inserted, so I can only assume that this is a problem with my theme overriding the cform CSS.  I've installed Firebug, but am having trouble understanding what to look for.  I've watched the screencast and viewed the HTML and Styling for my contact page, but toggling things on and off does not seem to point me to where the problem lies.  What part of Firebug do I need to pay attention to in order to understand what I need to adjust in my CSS files?

 

Thanks,

-Mike

February 16, 2008
11:18 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

On your contact page, there is currently no header info whatsoever.

Maybe the above is a typo, but the function call is wp_head(); – does that work?

Firebug

When you enable Firebug and inspect an item, you can change the items CSS on the fly (right hand side). You can of course keep track of your changes and adjust your cforms CSS file accordingly (clean method) or you can switch (on the left hand side to "CSS", select your cforms CSS file and copy & paste it into your actual offline CSS file). The latter I demonstrated in the movie clip (at the end).

February 17, 2008
4:22 am
Mike
Guest

Oliver,

 

I'm not sure what you mean about there being no header information on my contact page, I have <?php get_header(); ?> in my page_contact.php file and I'm positive that the header.php has the <?php wp_head (); ?> in it.

 

-Mike

February 17, 2008
8:23 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Mike,

If I click on 'contact', I see a barebone cforms form, on this page, there is no cforms header whatsoever (not only the CSS is missng, but also the Javascript etc.).

So I assume that for some reason, either the wp_head(); statement is not being executed properly or cforms is not injecting its own header info.

Did you by any chance turn off cforms header via the GLobal Settings option?

PS: Did you get the comment form to work with the filters…I had sent you an update per email…

February 17, 2008
10:35 am
Mike
Guest

Oliver,

 

Sorry, my bad!!  I had the "limit cforms to specific pages" feature turned on, thanks for reminding me about that.

 

As for the comment form, I just got a chance to test it and I'm getting errors.  I'm using the same code I sent you in the e-mail and I keep getting T_String errors.

 

-Mike

February 17, 2008
10:42 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Odd, because I took your code, adjusted it to my field IDs and it worked right away.

Did you redownload cforms (I snuck in a late fix, that you may have not gotten, due to Wordpress.org's not-so-freqeunt plugin update procedures)?

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
23 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: 3758

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5356

Posts: 18736

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

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

Administrators: Oliver (6400), Nicky (3)