6.1 forms button missing CSS class?
If you add a newsletter the button gets a class sfnewsletterSubmitBt so you can easely style it.
It seems that if you add a from the buttons have no class.
I can give a class but would like also a default class so the enduser does not have to worry about giving it a class (rembember to do it, remember what class).
Furthermore when I add my own Class the class gets added to the DIV as well as the input button. Does that make sense.
Markus
I think you need to brush up on your css :) In your screenshot there are PLENTY of styling options
.sfFormSubmit input
//All form Buttons
.sfFormSubmit
//Just the wrapper of the button
.sfFormSubmit.sfSubmitBtnSmall input
//Small version of the Button
.sfFormSubmit.MyButton input
//Your custom form button
.sfFormSubmit input.MyButton
//Another way to get to your version of the custom form button
.sfFormSubmit.sfSubmitBtnSmall.MyButton input
//Only custom buttons that are
small
//etc, etc....
Dear Steve
Thanks well I went with this approach since the newletter does not seem to have the .sfFormSubmit class.
.sfFormSubmit input,
.sfnewsletterSubmitBtnWrp input
padding
:
5px
10px
5px
10px
;
background-color
:
#343e6b
;
color
:
#fff
;
border
:
0px
;