-
AuthorPosts
-
June 16, 2020 at 3:13 pm #1223060
Dear team,
could anyone help me by finding the correct place where I can edit the Mouse over text of the social Media Icons in the top bar?
Our client would like to use the icon of Dribbble for the link to his website. But I have to change the word “Dribbble” on mouse over.Thanks!
Sven
June 18, 2020 at 4:26 pm #1223786Hey Videmi,
Could you please attach a mockup of what you’re trying to achieve?
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaAugust 17, 2020 at 4:54 pm #1238543Hello Victoria,
thank you for your help.
Please visit the website. When you go to the dribble logo in the top / right corner you get the mouseover “dribble”.
Out client would like to change this mouseover. The background is, that we need a signé which is usable for “website”. So the world / dribble-logo is perfect.Best regards,
Sven
August 20, 2020 at 6:14 am #1239441Hi Sven,
I’m not really sure I understand the request. Can we ask for a mockup or a screenshot on what you want to achieve on mouse-over the dribble logo?
Best regards,
NikkoSeptember 3, 2020 at 9:09 am #1243027Dear Nikko,
I uploaded an image which shows the tool-tip I would like to change.
Thank you very much!September 3, 2020 at 2:48 pm #1243111Hi Videmi,
That tooltip is produced by the title tag (html/browser default).
If you want to change the title, you’ll need to modify avia_social_media_icons class which is defined in wp-content > themes > enfold > includes > helper-social-media.php:
Then the title part of line 167 in Enfold 4.6.7.3$html .= "<a {$blank} {$aria_label} href='" . esc_url( $icon['social_icon_link'] ) . "' " . av_icon_string( $icon['social_icon'], false ) . " title='{$display_name}'>";
you can add some condition on top of it, to make it change title when it’s dribble.
I hope this helps.Best regards,
NikkoSeptember 4, 2020 at 2:52 pm #1243389Hey Nikko,
thank you very much! But it needs a bit more skills than I have to write the code condition to change only dribble.
I will try to ask somebody to help me in this case.Thank you very much and best regards,
Sven
September 4, 2020 at 3:28 pm #1243400Hi Sven,
On top of the code I pointed out above you can put this code:
if($display_name == 'Dribble') { $display_name = 'My Dribble'; }
Then just replace My Dribble with the text you want to use.
Hope it helps.Best regards,
NikkoSeptember 28, 2020 at 12:50 pm #1248974This reply has been marked as private.September 29, 2020 at 10:05 am #1249301Hi Videmi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( to be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
NikkoOctober 5, 2020 at 10:02 am #1250545This reply has been marked as private.October 6, 2020 at 6:23 am #1250698Hi Videmi,
Thanks for giving us admin access.
I was short of one b this is the right code:if( $display_name == 'Dribbble' ) { $display_name = 'Reo.de'; }
I have modified it on your site (link in private content, however, it’s not changing.
Is there any internal caching in the server which prevents it from working? If yes, please flush out the cache or temporarily disable it.
I tested the code and it worked properly on my end.Best regards,
NikkoMay 7, 2021 at 2:00 am #1298867Hello Nikko, The above works perfectly!
How do I implement this modification in a child theme?
- This reply was modified 3 years, 6 months ago by rlhinirv57.
May 7, 2021 at 3:20 pm #1298969Hi rlhinirv57,
You’re welcome :)
Please try to create an includes folder to your child theme, then inside it add the helper-social-media.php file.Best regards,
NikkoMay 7, 2021 at 6:05 pm #1299013Thanks Nikko, I can gain FTP access so will take that approach.
May 8, 2021 at 2:30 am #1299048Hi rlhinirv57,
You’re welcome :)
Just let us know how it goes, if you need assistance, we’ll be here to help.Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.