- This topic has 8 replies, 3 voices, and was last updated 10 years ago by medicsontheball.
-
AuthorPosts
-
January 7, 2014 at 7:44 am #18961rckstrMember
How do I change the hover ALT tag on the social icons? I figured out how to “hack” the social icons to get ones I want. I replaced the Myspace icon in the actual image with a Yelp button and it works fine. But the ALT tag still says MySpace. I’ve found all instances of MySpace in the code and changed them and nothing changed.
<label><?php _e( ‘MySpace’, ‘catchbox’ ); ?></label></th>
Is this not it? How do I change the ALT tag? Thanks.
January 7, 2014 at 10:05 am #18971SakinKeymaster@rckstr: For changing any core theme files, first you need to build child theme. Then just create
functions.php
file in your child theme and copy the functioncatchbox_socialprofile()
from parent theme. Then you can change thetitle="MySpace"
totitle="Yelp"
April 20, 2014 at 11:07 am #26510medicsontheballParticipantI am trying to do the same thing, but those functions are not in my functions.php. Have they been moved?
April 20, 2014 at 6:37 pm #26552SakinKeymaster@medicsontheball: Are you checking in Catch Box Pro theme. Then the function will be in catchbox-functions.php file inside inc directory.
April 20, 2014 at 6:57 pm #26554medicsontheballParticipantThank you, that worked. However, I tried putting a copy of this file with the changes I want into the child directory (even put it in an inc folder) but it didn’t read the changes. Is it ok to leave the changes in the original or will they get overwritten during an update?
April 20, 2014 at 10:24 pm #26575SakinKeymaster@medicsontheball: If you make changes in the original core theme files then it will be overwritten when you update the theme.
April 20, 2014 at 10:25 pm #26576medicsontheballParticipantthen how can I get the child theme to recognize the new file?
April 20, 2014 at 10:28 pm #26578SakinKeymaster@medicsontheball: I have already given you the instruction. You don’t need to add catchbox-functions.php in your child theme. You just need to copy catchbox_socialprofile function in your child theme functions.php file and edit it.
April 20, 2014 at 10:29 pm #26579medicsontheballParticipantoh..sorry, I missed it. I read it very late last night. However, in my catchbox-functions.php there is no catchbox_socialprofile function. There is a function catchbox_social_networks()
is that the correct one?
-
AuthorPosts
- The topic ‘Social Icons Hover Tag’ is closed to new replies.