| Post |
|
Guest
| Mike 3:09 am February 16, 2008
| |
|
|
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
|
|
|
Admin
| Oliver Munich, Germany posts 6094 11:18 am February 16, 2008
| |
|
|
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).
|
|
|
|
|
Guest
| Mike 4:22 am February 17, 2008
| |
|
|
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
|
|
|
Admin
| Oliver Munich, Germany posts 6094 8:23 am February 17, 2008
| |
|
|
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…
|
|
|
|
|
Guest
| Mike 10:35 am February 17, 2008
| |
|
|
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
|
|
|
Admin
| Oliver Munich, Germany posts 6094 10:42 am February 17, 2008
| |
|
|
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)?
|
|
|
|