Ask Your Question
0

[meta] Why is the search button (magnifier) turning into two X's on mouse over?

asked 2016-01-24 15:36:55 -0500

florian gravatar image

updated 2016-01-24 17:25:32 -0500

mether gravatar image

Hi,

I was always wondering why the search button (magnifier) on the home page is turning into two X's on mouse over?

image description (Sorry, mouse pointer is not captured in screen shot but was located on magnifier/two X' when I printed the screen.

Any ideas?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-01-25 00:38:31 -0500

vtrefny gravatar image

The CSS is wrong. Line 690 of style.css should be

  background: -146px -37px url(../images/sprites.png) no-repeat !important;

(I added the !important statement. Btw. I really don't know why there are six background-image: none; rules there.)

The positioning for the background image is overriden by rule on line 765 and its !imporant definition of background-position for hover input buttons.

button:hover,
input[type="submit"]:hover,
.button:hover,
.btn:hover {
  background-position: 0 0 !important;
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-01-24 15:36:55 -0500

Seen: 553 times

Last updated: Jan 25 '16