Tagged: x
-
AuthorPosts
-
July 27, 2016 at 5:13 am #1104874
JS_Marketing16ParticipantHi,
I was following the thread at: https://community.theme.co/forums/topic/custom-social-media-icons-2/
It’s been archived, but I had one more question about changed the icon. I’ve successfully changed one of my icons replacing the behance icon. The only problem is when you hover your mouse on the text that shows still says behance.
How can I change this to either my own tag or to display nothing?
Thanks,
CJuly 27, 2016 at 5:15 am #1104875
JS_Marketing16ParticipantAlso, when you click the icon instead of going to jobscience.co.uk it goes to http://www.jobscience.com/jobscience.co.uk. How can I correct this?
Website is jobscience.com
July 27, 2016 at 8:07 am #1105078
JoaoModeratorHi There,
Would you mind sharing the code you use to implement BeHance Icon?
Use the code tag above to wrap the code.
Thanks
Joao
July 28, 2016 at 7:42 am #1107000
JS_Marketing16ParticipantHi,
Here’s the code I used. I figured out how to direct it to the proper URL but still having trouble changing the behance popover on hover.
.x-topbar .x-social-global .x-icon-behance-square:before {
content: “”;
}i.x-icon-behance-square {
background: url(“http://www.jobscience.com/wp-content/uploads/2016/07/UK-Flag-Bigger.png”);
display: inline-block;
width: 18px;
height: 18px;
}.x-social-global a i {
background-size : cover;
}July 28, 2016 at 10:33 am #1107232
DarshanaModeratorHi there,
To change the hover image, use the following CSS.
i.x-icon-behance-square:hover { background-image: url("path.to/your/image.png"); }Hope that helps.
July 29, 2016 at 4:27 am #1108554
JS_Marketing16ParticipantHi,
Thanks for the code, but I am actually trying to change the popover when you hover from Behance to say “Jobscience UK”
See screenshot attached.
Thanks,
ColtonJuly 29, 2016 at 4:31 am #1108559
JS_Marketing16ParticipantSorry here’s the screenshot
July 29, 2016 at 5:21 am #1108612
LelyModeratorHi Colton,
Please do change the title parameter on the link you have added
<a href="https://www.jobscience.co.uk/" class="behance" title="Behance" target="_blank"><i class="x-icon-behance-square" data-x-icon="" aria-hidden="true"></i></a>Change this part:
title="Behance"to thistitle="Jobscience UK"Hope this helps.
July 29, 2016 at 7:47 am #1108740
JS_Marketing16ParticipantHi,
I tried adding that code but it didn’t seem to affect anything. The code you provided I haven’t added in the first place.
The only code I’ve added was what I put above earlier in this thread. Is there a way to tweak this or to add single code to make the change?
Thanks
July 29, 2016 at 10:11 am #1108910
LelyModeratorHi There,
Please add this code instead on Appearance > Customize > Custom > Edit Global CSS:
jQuery(document).ready(function($) { $('.behance').attr('title','Jobscience UK'); });Hope this helps.
August 1, 2016 at 10:49 am #1112190
JS_Marketing16ParticipantHi,
Thank you so much! I think you meant edit Global Javascript, that’s where I put the code in and it worked!
Best,
ColtonAugust 1, 2016 at 11:09 am #1112215
RupokMemberYou are welcome Colton!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1104874 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
