Jump to content

FontAwesome Icons in Navigation Bar


Recommended Posts

We are unable to assist with custom development and design, so I will move this to our community support area. I know I have done this before by targeting the ID of the navigation item, similar to this (In this instance, 34 is the ID. If you right click then inspect the navigation item, you will be able to get the ID, and the content item there is the icon

.ipsNavBar_primary > ul > li#elNavSecondary_34 > a:before
{
  font-family: FontAwesome;
  font-size:15px;
  font-weight: normal;
  margin-right: 5px;
  content: "\f041";
}

 

Link to comment
Share on other sites

25 minutes ago, Marc Stridgen said:

We are unable to assist with custom development and design, so I will move this to our community support area. I know I have done this before by targeting the ID of the navigation item, similar to this (In this instance, 34 is the ID. If you right click then inspect the navigation item, you will be able to get the ID, and the content item there is the icon

.ipsNavBar_primary > ul > li#elNavSecondary_34 > a:before
{
  font-family: FontAwesome;
  font-size:15px;
  font-weight: normal;
  margin-right: 5px;
  content: "\f041";
}

 

Where do I find the correct rule to change?

Link to comment
Share on other sites

7 hours ago, clubcarter said:

Is there a way to center the icon on top of the text link

that is a great question, that would save a lot of space in navigation bar. I did some research yesterday for CSS that could help me do that but I am not that CSS savvy. Hope somebody has done it and can share the css with us.

Link to comment
Share on other sites

I paid for Font Awesome pro version this morning to be able to use the thin icons in my nav bar, but I am not sure how to specify the think icon in css...

I am using now this:

.ipsNavBar_primary > ul > li#elNavSecondary_40 > a:before
{
  font-family: FontAwesome;
  font-size:17px;
  font-weight: normal;
  margin-right: 5px;
  content: "\f015";
}
 

But the content: "\f015" gives me the thick icon automatically, how can I change the css to include the thin version?

Thin version name is:  <i class="fa-thin fa-house"></i>

help appreciated.

image.thumb.png.5285826d0411aa82f19c9963dab154cc.png
Link to comment
Share on other sites

  • 7 months later...
  • Recently Browsing   0 members

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