button and link color

Joomla template especially designed for news or magazine website with amazing content display flexibility.
GK User
Thu Sep 09, 2010 12:01 am
Hi

I have change the button class in the joomla_classes.css file like this:

Code: Select all
.button {
    background: url(../images/grad1.gif) repeat-x top #e58906;
    border: 1px solid #d57600;
    color: #fff;
    font-weight: bold;
    font-size: 100%;
    padding: 10px 12px;
    text-decoration: none;
   
}

.button:hover, .button:focus {
    background: #d57600;
    border: 1px solid #d57600;
    font-weight: bold;
    font-size: 100%;
    color: #fff;
    text-decoration: none;
}


Take a look here (test article) : Link to a test article: http://www.euro-academy.com/no/index.ph ... icle&id=69

..the buttons to the right have a orange link color (like ordinary links).

How can i change code for the button tekst to have white color (like hover)

Best from Joe
User avatar
Fresh Boarder

teitbite
Sat Sep 11, 2010 12:58 pm
Hi

Try with adding "!important" after the color value in the class .button :

Code: Select all
.button {
    background: url(../images/grad1.gif) repeat-x top #e58906;
    border: 1px solid #d57600;
    color: #fff !important;
    font-weight: bold;
    font-size: 100%;
    padding: 10px 12px;
    text-decoration: none;
   
}
User avatar
Moderator


cron