-
AuthorPosts
-
September 12, 2017 at 6:54 pm #851172
Hello,
I installed Easy Social Icon Plugin, because I wanted to have a special Facebook Icon Picture!
There are 3 possibilitied in the settings of easy social icons 1. using widget 2. using shortcode 3. using PHP Template Tag
I tried it with Widget and draged the Easy Social Plugin into the Header Widget Area but then I can NOT bring it then to the right upper corner, where my current Facebook Icon (which I don´t want) is shown.
Please can anybody help me how I can customize the position of the easy social icons plugin facebook icon?!
Thank you for the help
Here is my site on which you see the OLD facebook icon which I set with the Social Icons of Enfold theme and NOT the goal with Easy Social Icons which I wantSeptember 13, 2017 at 4:28 pm #851648Hey,
You can refer to this post – http://kriesi.at/documentation/enfold/custom-social-icons/ and add new social icon to Enfold theme options :)
Best regards,
YigitSeptember 14, 2017 at 6:59 pm #852274Hello Yigit,
thank you for your answer!
I have one question?!
Where exactely I have to paste this code?!
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons[‘icon_name’] = array( ‘font’ =>’fontello’, ‘icon’ => ‘ue800’);
return $icons;
}
add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);// Add new icon as an option for social icons
function avia_add_custom_social_icon($icons) {
$icons[‘Icon Label’] = ‘icon_name’;
return $icons;
}
add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);September 15, 2017 at 3:00 pm #852557Hi,
If you are using a child theme, you can add it to the bottom of functions.php file of your child theme in Appearance > Editor. If you are not using a child theme, please find following line near top in functions.php file
if(isset($avia_config['use_child_theme_functions_only'])) return;
and add your code right below that line
Best regards,
YigitSeptember 15, 2017 at 3:02 pm #852559Thank you yigit!
How do I know if I use a “child theme” or not?!
Thanks again!September 15, 2017 at 3:19 pm #852570Hello Yigit,
I found the line: if(isset($avia_config[‘use_child_theme_functions_only’])) return; in the functions.php file and paste it as you told me right below that line!
But right after klicking on refresh it kicked me out of WordPress and shows me the error message: HTTP ERROR 500
:(
So what I should do NOW?!
If I want to go again to the WordPress login Site there is only the error message shown and I come NOT anymore to the WP login!!!!September 15, 2017 at 3:22 pm #852573Hey!
You can check in Appearance > Themes. I checked it from your source code and you are not using a child theme. We would recommend it – http://kriesi.at/documentation/enfold/using-a-child-theme/ otherwise you would need to insert the same code to functions.php file after each update.
Cheers!
YigitSeptember 15, 2017 at 3:26 pm #852576Ok, but then I made everything like you said!
So why do I it kicked me out and what I must do to come again back to the WordPress Login inspite the HTTP ERROR 500?!?
Please HELP!!September 15, 2017 at 3:29 pm #852580And my COMPLETE Website is not reachable anymore!!!
September 15, 2017 at 3:30 pm #852583Hi!
Please post FTP and WP admin logins here privately so we can fix it for you.
Best regards,
YigitSeptember 15, 2017 at 3:32 pm #852584Ok, thank you very much!!!
September 15, 2017 at 3:38 pm #852585Hey!
We will need FTP logins as well to overwrite functions.php file. Could you please post it as well?
Cheers!
YigitSeptember 15, 2017 at 3:38 pm #852586And here the FTP!
September 15, 2017 at 3:52 pm #852587Hi!
Code was added twice in functions.php file. I removed extra one. If you cannot figure out how to set your custom icon, please create a testing page with your icon and let us know :)
Best regards,
YigitSeptember 15, 2017 at 4:06 pm #852589Hello Yigit,
thank you very much for your help!!!
So is it now possible that I can choose a custom Facebook logo?!
I would like to choose this one: http://iconbug.com/data/46/256/e5da8e60ffe95bca3aa593711b88b6f3.png
if it is possible!
Thanks again!!!! :)September 15, 2017 at 4:37 pm #852597I checked it and you paste the code correct in the functions.php file
but I can not find the fontello function in the enfold social profiles?!
I do not know why it does not work?!September 19, 2017 at 4:21 am #853660Hi,
Please use the following css codes.
#top #wrap_all .social_bookmarks .av-social-link-facebook a { background: url(https://iconbug.com/data/46/256/e5da8e6….png) !important; background-size: 100% 100% !important; } #top #wrap_all .social_bookmarks .av-social-link-facebook a:before { display: none; }
Remove this css code.
.social_bookmarks_facebook a { background: mediumblue !important; color: white !important; }
Best regards,
IsmaelSeptember 19, 2017 at 7:59 am #853744Hello Ismael,
thank you for your message!
I tried to add you CSS and removed the CSS you wrote, but there is still no option for using fontello in the enfold social profiles menu?! :/
Please could you or anybody else again help me?!
Till now no suggestion worked! :/
Best regards and thank you in advance!September 20, 2017 at 5:51 am #854154Hi,
What do you mean by “fontello in the enfold social profiles menu”? The css code above should replace the default icon with the image of your choice.
Best regards,
IsmaelSeptember 20, 2017 at 1:13 pm #854336Hello Ismael,
thank you for your answer!
It was my mistake!
I had a failure in the weblink of the picture in the css code and also thought that I have to set something in the enfold social profiles menu!
Now it works!
Thank you for your help!
Best regards!September 21, 2017 at 12:12 pm #854777 -
AuthorPosts
- The topic ‘How change positon of a customized Facebook Icon on Easy Social Icon Plugin?!’ is closed to new replies.