Submit button issue

rschling 17 May, 2011
Hi there,

i have a slight cosmetic issue with the submit button

in my forms it doesnt change cursor or anything on hover

it does submit and works with require validation messages etc.

but would be nice if it would have some hover action

i have joomla 1.6.3 and have it on a artisteer template

tried to change in the frontforms.css file here

.ccms_form_element .button {
background-color: #37a8f0;
border: 0;
padding: 5px 7px;
font-size: 11px;
color: white;
text-decoration: none;
}

.ccms_form_element .button:hover {
background-color: #999999;
text-decoration: none;
}

probably wrong location as i am pretty green on playing around with the code

thx for any suggestions

Richard
Nicodemus 17 May, 2011
I wouldn't change any template files unless you've so many buttons it's a pain to do them individually. You need to put a class='art-button' somewhere in the form HTML <input class=art-button blah blah etc>. It'll invoke the whole artisteer button wrapper and thus can be a mixed blessing, but you'll get what you want. And you'll need to do it for each <input... etc> that is a button of any kind. It works pretty good. See the bottom of the form on this stageing site :-

http://www.htmweb.co.uk/joopnm/index.php?option=com_content&view=article&id=83&Itemid=169

I wouldn't muck about with CSS main template styling unless you've a zillion buttons to style.

Good luck🙂

Nick
rschling 17 May, 2011
Hey there Nick,

thank you very much for the hint...worked like a charm

cheers

Richard
stoneraven 17 Nov, 2011
Hello,

The link to the answer seems be active now. Can you please point me in the right direction?

Thank you.
GreyHead 24 Nov, 2011
Hi stoneraven,

The link was just to an example I think. The rest of that post tells you what you need to do.

Bob
This topic is locked and no more replies can be posted.