Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved (Less) Font Awesome To Create Home Icon


Question

Posted · Report post

I created a nice looking home button using {LESS} and Font Awesome under custom menu item seen here.

I can't get it to center or align left.

I tried:

<div style="font-size: 18px; text-align: center;"><i class="icon-home icon-large">  </i></div>

Any reason why this isn't working?

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

thank you. worked perfectly.

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, it seems the width is affecting the home icon. You can set this using the following css in the custom code box. This seems to center the icon better.


li .icon-large:before, li .icon-large:before {

    width: 0.875em;

}

1 person likes this

Share this post


Link to post
Share on other sites