Button Style

Rob (who deals with CSS stuff normally) is on vacation this week, but I will try to help.

The CSS which is causing the transition is from bootstrap.min.css .btn:hover:

Code:
.btn:hover {
color:#333333;
text-decoration:none;
background-color:#e6e6e6;
*background-color:#d9d9d9;
background-position:0 -15px;
-webkit-transition:background-position 0.1s linear;
-moz-transition:background-position 0.1s linear;
-o-transition:background-position 0.1s linear;
transition:background-position 0.1s linear;
}

This looks like standard bootstrap code. I note that you are on bootstrap 2.1 when the current version is 2.3.2 - so I would suggest that you upgrade your bootstrap as a first step and see if that helps.

P.S. It is the background-position and transition lines which cause the hover effect you don't like.

S
 
BS 2.3.2 CSS has the following:

Code:
.btn:hover,
.btn:focus {
  color: #333333;
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;
}
 
P.S. Use the bootstrap files from Joomla 3.1.5 as these have been modified to prevent issues with Joomla (such as fields disappearing when a tooltip closes).
 
Thanks Sophist

I have tried to change the files but it is having no effect - Can you please point me in the right direction as to which file I need to change as it may be that O am changing the wrong files

Thanks

Mark
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top