Post
Guest
FC
11:42 pm May 25, 2007
hello everyone
this cforms plugin seems fantastic but I have a minor css issue that I can't fix
I have been trying to remove the numbers of the ordered list at the left of each field but it looks like I'm missing something
I tried it in Firefox, Opera and IE, the page is http://www.coolpicsblog.com/contact/ and I just installed the latest version 4.6
I thought I would have removed them with
list-style-type: none; in the ol.cf-ol class but it seems it doesn't work, I've been trying at it for roughly 1 hour in any humanly imaginable way
Admin
Oliver
Munich, Germany
posts 6237
11:55 pm May 25, 2007
This declaration in style.css (your main WP Theme)…
#content ol li {
background:transparent none repeat scroll 0%;
list-style-position:inside;
list-style-type:decimal;
padding-left:0pt;
}
…is the culprit. It overwrites the settings in cforms.css.
To fix it, you could try the following modification to cforms.css , ~line 28 (see change in bold ):
ol.cf-ol li {
margin:5px 0!important; /*some themes may interfere otherwise*/
padding:0;
list-style:none!important ;
text-align:left;
}
Admin
Oliver
Munich, Germany
posts 6237
12:01 am May 26, 2007
PS: I also noticed that your style.css sets textarea form fields to "block" which causes the message box to move into the next line.
You might want to give textarea in cforms.css (~line 122) a specific display:inline; e.g.:
.cform textarea {
display:inline;
overflow:auto;
}
Guest
FC
12:09 am May 26, 2007
fantastic
everything working smooth now
I hadn't absolutely thought about the other css
thanks a lot!
Guest
Karizmatic
3:44 pm July 23, 2007
Hi,
I'm having the same problem.
I tried the advices you're giving in the "11:55 pm May 25, 2007" post.
Unfortunatly, nothing chenged :(
The numbers are still displayed on the left of the fields.
You can see my prblem here:
http://www.karizmatic.fr/?page_id=66
Thank you!!
Guest
Karizmatic
3:57 pm July 23, 2007
Oups!
It's working now…
No comment :P
Member
Petervs
posts 8
8:38 am March 9, 2009
Hi guys i have read this post over and over
and i cant quite see what the resolve is
i have the exact same issue, where i have numbers running down the side and i understant its the theme stylesheet causing it, but im not sure how to fix it
does this still apply to Cform 10.4
this is my 1st form so please excuse the messy layout, i stuck the default form in to see what i am doing wrong, but it seems my theme is messing things up.
Could someone just take a look and point me in the right place, i have also started using firebug, as suggested
the link is http://beagles.co.za/beagle-db/
Member
Petervs
posts 8
1:41 pm March 9, 2009
ok seems the style section is helping me remove the numbers
so err thanks guys :p