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
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
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
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
Hey there Nick,
thank you very much for the hint...worked like a charm
cheers
Richard
thank you very much for the hint...worked like a charm
cheers
Richard
Hello,
The link to the answer seems be active now. Can you please point me in the right direction?
Thank you.
The link to the answer seems be active now. Can you please point me in the right direction?
Thank you.
This topic is locked and no more replies can be posted.