Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #18961
    rckstr
    Member

    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.

    #18971
    Sakin
    Keymaster

    @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 function catchbox_socialprofile() from parent theme. Then you can change the title="MySpace" to title="Yelp"

    #26510
    medicsontheball
    Participant

    I am trying to do the same thing, but those functions are not in my functions.php. Have they been moved?

    #26552
    Sakin
    Keymaster

    @medicsontheball: Are you checking in Catch Box Pro theme. Then the function will be in catchbox-functions.php file inside inc directory.

    #26554
    medicsontheball
    Participant

    Thank 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?

    #26575
    Sakin
    Keymaster

    @medicsontheball: If you make changes in the original core theme files then it will be overwritten when you update the theme.

    #26576
    medicsontheball
    Participant

    then how can I get the child theme to recognize the new file?

    #26578
    Sakin
    Keymaster

    @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.

    #26579
    medicsontheball
    Participant

    oh..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?

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Social Icons Hover Tag’ is closed to new replies.