troppochook
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to style checkboxes? (using Contact Form 7 & Thesis Theme)O–K! Ignore the previous ramblings re IE8! After a couple of hours of angst I realised I’d forgotten to pursue the simplest solution first. The button was there in IE (the source code was telling me) but just not showing as I needed to increase the overall height of the form. Simple! But as a novice, can’t it take hours to find the simplest solution?
Well thanks again to zoonini and I hope this thread may help someone else to totally customise their checkboxes etc in Contact Form 7.
Forum: Fixing WordPress
In reply to: How to style checkboxes? (using Contact Form 7 & Thesis Theme)Well that wasn’t the problem. It’s something to do with the custom checkboxes that IE8 doesn’t like… as soon as I put them in, the send button disappears.
Forum: Fixing WordPress
In reply to: How to style checkboxes? (using Contact Form 7 & Thesis Theme)Looks like IE8 doesn’t like me not using the tags for the checkboxes and then using a tag for the submit button. So I’m using:
<input type="submit" class="sendbutton" value="Send" />and the submit button is back in IE8. (yay!) Now the problem is styling it. Seems like wherever I put .sendbutton styling, it won’t apply. Tried the different css files in Custom Form 7 as well as Thesis’ custom.css to no avail. Help!?
Forum: Fixing WordPress
In reply to: How to style checkboxes? (using Contact Form 7 & Thesis Theme)Ok, have given it a go using the ryanfait.com tutorial. First I popped this code into custom-functions.php:
function add_custom_javascript(){ ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/custom/custom.js"></script> <?php } add_action('wp_head', 'add_custom_javascript');to load the javascript (is that the right term?). I uploaded the javascript as custom.js to thesis’s custom folder, and put the css into custom.css. Uploaded my own image for checkbox.png (with 4 images – one for each state) and adjusted pixels in css and js as instructed in the tutorial.
Then comes Contact Form 7 HTML… I couldn’t get it to work using the tag syntax:
<p>[checkbox specialoffer class:styled "I'm interested in this season's special offer" ]so changed the code to:
<p><input type="checkbox" name="specialoffer" class="styled" />I'm interested in this season's special offer</p>I’m wondering if I made a mistake with the tag syntax?
So I got it to work (yay!). EXCEPT in Internet Explorer 8 (aaargh!) where the custom checkboxes work fine but for some reason my Send button now won’t display. It was displaying before I played with the checkboxes! (All good in FF, Chrome etc). Any ideas? I’m searching for the solution now so will report back too.
Thanks so much for the info, zoonini, which pointed me in the right direction. Greatly appreciated.
Forum: Fixing WordPress
In reply to: How to style checkboxes? (using Contact Form 7 & Thesis Theme)Looks good – thanks for the leads… I’d seen some of the general styling info but didn’t know how to use CSS on the form elements. Will give it all a go now, see what results and report back. I’m learning as I go (it’s a steep curve!).
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] advanced CSS instructionThanks for that. Is it possible to style checkboxes (and radio buttons)? At the moment my checkboxes are tiny in Chrome and IE. I’d like to be able to alter their style anyway. Any ideas would be great!