-
AuthorPosts
-
March 18, 2015 at 12:46 pm #413558
Suddenly (after last update) the height of the submenu voices became incredible tall. ho can i reduce via quick css?
Site is: http://www.lecarabattole.comMarch 18, 2015 at 12:50 pm #413559Hi Nicola!
Please refer to my post here – https://kriesi.at/support/topic/menu-items-issue-after-update-to-version-3-1/#post-412421
Cheers!
YigitMarch 18, 2015 at 1:06 pm #413569Hi Yigit, sorry for not have seen that post before.
Now on ENG site your code solved the problem, but it doesn’t work for the ITA(ltalian version)! How can it be possibile? Do I have to do something more than adding our code (I also deactivated the shrinking option for logo)March 18, 2015 at 1:07 pm #413572Hey!
Please go to Enfold theme options and change the language to Italian and then add the code to Quick CSS field in Italian version as well. That should work, if not, please post a temporary admin login here privately so we can look into it :)
Cheers!
YigitMarch 18, 2015 at 1:08 pm #413573I did it that way..
I gave you admin access
March 18, 2015 at 1:09 pm #413574This reply has been marked as private.March 18, 2015 at 1:22 pm #413583March 18, 2015 at 1:24 pm #413585perfect now. Could you please me tell me which modifications you did in order to understand and lighten your work in the future?
March 18, 2015 at 1:26 pm #413591Hi!
Nothing special actually. I changed height to 150px to match your custom header height and re-saved in both languages and that worked :)
Cheers!
YigitMarch 18, 2015 at 1:35 pm #413599ok thanks.
I have to highlight two more bugs :
1) probably cause of the new color scheme introduced in v 3.1 it happens that i lost my font color values of Footer secondary font color for all section (they became green, now i manually corrected them). I happened 2 twice for me…2) I lost my modification for the TripAdvisor social button in headed, and i don’t know why… Please refer to this post. I lost my icon and also the title became again the default Vimeo.
thanks for any help
:)March 19, 2015 at 7:16 pm #414761Hi!
It seems like you do not have functions.php file on your child theme and code is not inserted in parent theme’s functions.php file. Updating must overwrote it. Can you please re-apply the changes? :)
Cheers!
YigitMarch 19, 2015 at 7:24 pm #414769holy sh*t! :)
please tell if these steps are correct:
1) I copy the file function.php (/wp-content/themes/enfold/functions.php) into my child theme folder
2) I add your code into this filedoing this way I will never loose my modifications after future them updates.
Am I right?
March 19, 2015 at 7:43 pm #414785Hey!
You do not need to copy whole functions.php. You can simply create a new file called functions.php and add php opening tag inside it
<?php
Then you should add the codes posted on the other topic :)
Regards,
YigitMarch 19, 2015 at 8:23 pm #414805I did it.
Here is the code of my functions.php into my child theme folderBut i received the error
Fatal error: Call to undefined function dd_filter() in /htdocs/public/www/wp-content/themes/enfold-child/functions.php on line 3
line 3 is:
dd_filter('avia_filter_social_icons', 'avia_social_icons_title');
March 19, 2015 at 8:25 pm #414808Full code is:
<?php dd_filter('avia_filter_social_icons', 'avia_social_icons_title'); function avia_social_icons_title($icons) { $i = 0; foreach ($icons as $icon) { if($icon['social_icon'] == 'vimeo') { $icons[$i] = array( 'social_icon' => 'trip advisor', 'social_icon_link' => $icon['social_icon_link'] ); break; } $i++; } return $icons; }
March 19, 2015 at 9:06 pm #414838Hey!
Please find ‘dd_filter’ filter in your code and add ‘a’ in front of it so it reads “add_filter”. You copied the code incorrectly :)
Cheers!
YigitMarch 20, 2015 at 10:05 am #415168sorry :(
Now All is ok but the icon. I see the pencil icon and not my trip advisor icon
March 20, 2015 at 4:48 pm #415384Hey!
Have you applied this part as well
Look for the trip advisor icon on fontello.com then upload it using the Enfold > Import/Export > Iconfont Manager. Select the Trip Advisor icon inside the Social Profiles panel.
Best regards,
YigitMarch 21, 2015 at 3:44 pm #415739As I wrote, Tripadvisor icon doesn’t exist, so i create my own and upload to fontello and then downloaded as fonts. Then i uploaded using the Enfold > Import/Export > Iconfont Manager , but after that I cannot find it in my social profile…
- This reply was modified 9 years, 9 months ago by niguli.
March 24, 2015 at 12:41 pm #417033Hey!
From what I remember, you change the icon with css modifications. Did you create your own trip advisor icon? This is the css code:
#top .social_bookmarks_vimeo { background: url(https://www.lecarabattole.com/wp-content/mieimmagini/tripadvisor.png) no-repeat center !important; } #top .social_bookmarks_vimeo:hover a { background: url(https://www.lecarabattole.com/wp-content/mieimmagini/tripadvisor-hover.png) no-repeat center !important; }
Regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.