color in buttons

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
Thu Oct 17, 2013 10:05 pm
Reply with quote
Report this post
Hi,

how can I change the color in button "Learn More"?

Thank you.
User avatar
Senior Boarder

GK User
Thu Oct 17, 2013 11:07 pm
Reply with quote
Report this post
Hi,
You have to add/use new styles for class

Code: Select all
.bigbutton { border: 2px solid red;
background:  #FFC0CB !important;
color:#fff !important;  }

You will get red border and pink background & white font color, have fun with this.

Note: this simple code allows you change colors in all NSP modules at ones. If you need in only one you have to add new Module Class Suffix for only this module with space before name for example " elmo"
and modify a little code
Code: Select all
.elmo .bigbutton { border: 2px solid red;
background:  #D60000 !important;
color:#fff !important;  }



TIP: http://www.gavick.com/documentation/joo ... -template/
User avatar
Platinum Boarder

GK User
Fri Oct 18, 2013 9:28 am
Reply with quote
Report this post
yes it works but when I hover the button is still green. Could you tell me how to change the green hover color?

Thank you.
User avatar
Senior Boarder

GK User
Sun Oct 20, 2013 11:30 am
Reply with quote
Report this post
This should help:

Code: Select all
a.bigbutton:hover { 
background:  blue !important;}


Instead "blue" use different color.
User avatar
Platinum Boarder

GK User
Sun Oct 20, 2013 1:18 pm
Reply with quote
Report this post
Hi,

yes it works but I have one issue yet. It has a blue border around the button. I would like too be transparent.

I place the following code
Code: Select all
a.bigbutton:hover { border: 2px solid transparent;
background:  #a3d6a9!important;}
but nothing changes.

Could you tell me how to change/remove the border on hover?

Thank you.
User avatar
Senior Boarder

GK User
Sun Oct 20, 2013 1:31 pm
Reply with quote
Report this post
Also, I have another button in the end of the frontpage called "send message" and even if it is under same style (bigbutton) it has different style (no hover effect). How can I fix it in order to have the same style with "learn more" button?

Thank you.
User avatar
Senior Boarder

GK User
Mon Oct 28, 2013 11:50 am
Reply with quote
Report this post
Next time tse this tip to locate code: http://www.gavick.com/documentation/joo ... -size-etc/

But sure, check

STANDARD BUTTON for this form
Code: Select all
input[type="button"]  { background:blue }



AND HOVER EFFECT
Code: Select all
input[type="button"]:hover { background: red  }
User avatar
Platinum Boarder


cron