-
AuthorPosts
-
December 18, 2020 at 12:54 pm #1268397
Hi!
I would like to add a login icon in my menu, next to social icon.
Could you help me please?
Thanks.December 21, 2020 at 4:52 am #1268932Hey Lidia,
Sorry for the late reply, to add a login icon next to your social icons, I would recommend going to Enfold Theme Options > Social Profiles > Your social profiles and choose a profile you are not using such as Twitter and enable it with your login link. Then add this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#top .social_bookmarks li.social_bookmarks_twitter a:before { background: url(https://img.icons8.com/offices/30/000000/hot-air-balloon.png) center center no-repeat; background-size: contain; } #top .social_bookmarks li.social_bookmarks_twitter a:before{ content: ""; display: block; width: 30px; height: 30px; }
This will give you a hot air balloon icon like this:
Please give this a try.Best regards,
MikeDecember 21, 2020 at 2:42 pm #1269030Ok, but what is the normal way to put it in the Enfold template?
December 21, 2020 at 3:12 pm #1269039Hi,
To add a new social icon, please refer to this post – https://kriesi.at/documentation/enfold/social-share-buttons/#how-to-add-custom-social-icons-to-enfold-options.
If you need further assistance, please point out the icon/image you would like to use and post temporary admin logins here privately :)
Cheers!
YigitDecember 21, 2020 at 5:31 pm #1269095I think I have not explained well. If you need to add a link to “My account” how would you do with the Enfold template? I understand that it is something that is contemplated in some way.
December 22, 2020 at 3:29 pm #1269343Hi,
If you want to modify the theme files, I believe you would need to edit:\wp-content\themes\enfold\includes\helper-main-menu.php
which would be more contemplated.
Can I ask why you would want to modify the theme files versus using a built-in object, such as the social icons?Best regards,
MikeDecember 22, 2020 at 7:55 pm #1269385I think I am explaining myself fatally! LOL
I believed that the template, in the template options, had a way to add a login icon. Like other templates, for example Bridge.
And my question was. If I want to add a login icon in the header, I only have two possibilities with your template?
1. Use an icon of a social network that you are not using.
2. Modify the code (either parent theme or child theme)That’s how it is? In enfold there is no option to add a login icon in the header? As it is something very common, I thought that your template had that option.
December 23, 2020 at 2:49 pm #1269546Hi,
Oh, I understand now, sorry. So we don’t have a specific “login” position, but often people will use the Enfold Theme Options > Header > Extra Elements > Phone Number or small info text area, this is an area above the header.
For in the header, often people will create a menu item called “login”, this method also adds the item to the mobile menu, which is popular.
Since you had asked about placing it next to the social icons, I explained the “social icons” method above.
Do you have a specific location in mind?Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.