Jump to content

[Solved] blockuserinfo in nav - pb with inserting font awesome


Tirips

Recommended Posts

Hi,

I am modifying my theme.

I added blockuserinfo in the nav with font awesome icon, no problem when the customer is not log in.

post-796203-0-77842300-1488108775_thumb.jpg

 

But when the customer is log in, the font awesome displays twice.

post-796203-0-35728400-1488108782_thumb.jpg

 

I want another icon before the first blockuserinfo (sign out one).

I tried to modify the blockuserinfo.css or the nav.tpl but nothing works...

 

May someone help me, it's the last step before applying my new theme in my actual online shop.

Thanks in advance,

 

PS 1.6.1.7

 

 

Edited by Tirips (see edit history)
Link to comment
Share on other sites

No reply and nothing more to modify in my new theme, it motivates !!
I make the answer, it can be useful  ;) 

In the blockuserinfo.css (themes / CSS / modules) add

.header_user_info .logout:before {
  content: "\f0.. ";
  font-family: "FontAwesome";
  }

Change the "f..." with the FontAwesome icon code you want.

 

For those who need...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...