Jump to content

Disable zoom on hover client area Font awesome icons


exlhost

Recommended Posts

Hi Team

Anyone knows how we can disbale mouse hover zoom on the font awesome icon only in the client area ?
We tried to disbale the transition in css but this is only the delay.
The hover it self is fine but the icon should not be zoomed in.

pointer-events: none; 

this is not an option as it will complete turn of hover effect

 

image.png.d58191399983dd26d9e5a306b0dec592.png

Link to comment
Share on other sites

2 hours ago, DeeeExclusive said:

Anyone knows how we can disbale mouse hover zoom on the font awesome icon only in the client area ?

I wasn't sure what you were talking about at first... i've never seen a FA zoom before on clientareahome.... and then I realised, you must be talking of 21! 😲

I think that "zoom" is in effect an increase in the font size (from 55 to 70px), so you could set the hover to be 55px in custom.css and the size would never change...

.tiles .tile:hover i {
  font-size: 55px !important;
}
Link to comment
Share on other sites

Hi Brian

Yes we use the 21 theme,  sorry forgot to mention that.

The strange part is,  we could not locate the hover part in dev console.
After youre comment it makes sense, we now looked in theme.min.css for the . title:hover and can see the 70PX font size.
We applied the css to custom css and now the icons wont zoom in.

Thanks again Brian, youre the best.

Edited by DeeeExclusive
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated