Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8417027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:55:49+00:00 2026-06-10T01:55:49+00:00

I am using Font-Awesome which is iconic font for use with Twitter Bootstrap. Markup

  • 0

I am using Font-Awesome which is iconic font for use with Twitter Bootstrap.

Markup –

<i class="icon-remove reset-preference-button"></i>

CSS –

.reset-preference-button {
cursor: pointer;
}

JavaScript –

$(".reset-preference-button").on("click", function() {
// ... do something
});

When I render the page, the cursor does not change to pointer when hovered over the element. Also nothing happens when I click on the icon. I made sure that the icon exists before I bind the event.

Note that I am using element & not anything else. Seems like when I explicitly set the style for this element to "display: inline-block;" it works fine.

This according to my tests happens only on Chrome. Works fine in Firefox & IE. My current Chrome version is 18 but it affects other versions as well.

I have already filed a bug at https://github.com/FortAwesome/Font-Awesome/issues/157

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T01:55:51+00:00Added an answer on June 10, 2026 at 1:55 am

    This is happening because there isn’t any content in the <i> element – font awesome uses the css pseudo element :before to render the icon in with css.

    You could set a height and a width of 1em and set display to :block

    i {
      width: 1em;
      height: 1em;
      display:block;
      cursor: pointer;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using bootstrap-sass and the font-awesome ( https://github.com/littlebtc/font-awesome-sass-rails ) gems. I would like
How to use custom variables when using twitter-bootstrap-rails gem? I want to change the
I'm using Font Awesome for icons in my website. I'm pretty new to HTML
I'm using font-awesome in a rails 3 app, and everything is ok in development
I want to use a pixel font on the web. I'm including it using
So I am trying to use this font http://fortawesome.github.com/Font-Awesome/ . I've added the font
I'm trying to use Font Awesome: http://fortawesome.github.com/Font-Awesome/ I've used these font icons on several
I am having an issue with this menu with icons using bootstrap and font
I'm using Font Awesome for my project and it works fine for chrome, firefox
On my current project I am using a font which is currently hosted on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.