Submit Button CSS

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Oct 21, 2015 7:24 pm
Reply with quote
Report this post
Where do I find the specific CSS for the submit button on Forms?
User avatar
Junior Boarder

GK User
Wed Oct 21, 2015 7:30 pm
Reply with quote
Report this post
User avatar
Platinum Boarder

GK User
Sat Oct 24, 2015 7:24 pm
Reply with quote
Report this post
Hi Oscar I read it and couldnt find anything of relevance. I have made my own style and then allocate the style in my html but the button still reverts to default...how do I change this?

One issue is that the text box and the submit button are no longer the same size or centered
User avatar
Junior Boarder

GK User
Sat Oct 24, 2015 10:49 pm
Reply with quote
Report this post
I didn't saw you button, so I'm blind.
Sometimes if you want to override default style you have to use !important value at the end. For example:
background:red !important;
User avatar
Platinum Boarder

GK User
Sun Oct 25, 2015 6:57 pm
Reply with quote
Report this post
If you go to wecare.bz, it is on the main page
User avatar
Junior Boarder

GK User
Sun Oct 25, 2015 7:10 pm
Reply with quote
Report this post
This is default style:
.imageBg #gkHeaderMod input[type="submit"] {
background: #99c24b;
}

If we talk about "Get started" button :mrgreen:
and hover effect
.imageBg #gkHeaderMod input[type="submit"]:active,
.imageBg #gkHeaderMod input[type="submit"]:focus,
.imageBg #gkHeaderMod input[type="submit"]:hover {
background: #f9c62a;
}

Just use your colors
code was/is here: templates/gk_simplicity/css/style2.css
User avatar
Platinum Boarder

GK User
Mon Oct 26, 2015 8:53 pm
Reply with quote
Report this post
Thanks Oscar!
User avatar
Junior Boarder


cron