-
AuthorPosts
-
December 3rd, 2014 at 00:52 #28473Techcurity
How do you change the colors of the social media icons. I have spent a great deal of time looking through each tab on your theme options but cannot seem to find the option.
Thanks,
TechcurityDecember 9th, 2014 at 01:14 #28575ERIC KOCHISI have spent 3 hours and figured it out.
1) Go to the editor of the theme and edit the following php files
admin/main.php
Add these lines to be similar to the ones above it. Then change the number 5 to 6
add_settings_field(‘mantra_socials6’, __(‘Link nr. 6′,’mantra’) , ‘cryout_setting_socials6_fn’, __FILE__, ‘socials_section’);admin/settings.php
Again you need to follow the set of code as above and just add another set of lines similar to above
The only difference is the new set of lines should have social6 and array 11
// TEXTBOX – Name: ma_options[social6]
function cryout_setting_socials6_fn() {
cryout_setting_social_master(11);
}Next you need to increase the array count to 11 to match what you just added
includes/theme-functions.php)
* Social icons function change 9 to 11
for ($i=1; $i<=11; $i+=2) {That’s it you are ready to add another icon!
If you want to add a new icon not listed like I did you need to icon to be small and of PNG type.
Then you need to either SFTP or copy the file over to the following folder
/home/shut2337764649/html/wp-content/themes/mantra/images/socialsThen go to this page and add the file name to the last position of the string. This took a while to figure out that you can’t just add it alphabetically.
(admin/sanitize.php)
$socialNetworks = array (“Amazon”, “Delicious”, “DeviantArt”, “Digg”, “Etsy”, “Facebook”, “Flickr”, “Google”, “GoodReads”, “GooglePlus”, “IMDb”, “Instagram”, “LastFM”, “LinkedIn”, “Mail”, “MySpace”, “Picasa”, “Pinterest”, “Reddit”, “RSS”, “Skype”, “Steam”, “SoundCloud”, “StumbleUpon”, “Technorati”, “Tumblr”, “Twitch”, “Twitter”, “Vimeo”, “VK”, “WordPress”, “Xing”, “Yahoo”, “Yelp”, “YouTube”, “Put new file here” );
Have fun
December 9th, 2014 at 13:20 #28582Walt…or if you want the actual solution to your question instead of Eric’s random post about how it took him 3 hours to do something that wasn’t even asked in the thread, you go to Appearance >> Parabola Settings >> on the right column click on Color Schemes >> click on a scheme and hit load at the bottom of the page.
March 22nd, 2015 at 23:35 #30887KatrinaHi there,
Is there a way to get rid of the animation of the social media icons? Id like for them to change colour when you hover over them but get rid of the rotating motion. Thanks!
April 12th, 2015 at 06:33 #31069SharonIn Nirvana – would like to change the color of the social icons – thank you!
April 12th, 2015 at 06:40 #31070SharonNEVERMIND – found it – bottom of the colors tab in Nirvana Settings – duh!
-
AuthorPosts
The topic ‘Cannot change social icon color’ is closed to new replies.