Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #66817
    Steve Large
    Member

    Hi,
    This may have been covered before. I could not find the topic so I apologize in advance if I am being repetitious. Is there a way of changing the alt text for social icons? I had to adapt one of the social icon links after having a less than satisfactory result with the custom icon function. The link works fine and I modified the PNG file to show the icon that I wanted in a grey scale and color form like all the other icons. All that needs to be done now is to modify the alt text to correspond to the link that I want.

    When I tried the custom icon function instead of replacing the existing image when the mouse pointer went over it with the hover image it just put both images side by side on the social icons menu. When the mouse pointer goes over them they both get a bit darker. Certainly not the effect that I had in mind as I wanted my personal icon to react in a similar fashion to the other social icons.
    Any light that you can shed on this situation would be appreciated,

    Steve

    #66830
    Steve Large
    Member

    Hi,
    I got it! Found that I could just change the title attribute in adventurous-functions.php. Of course there may be problems later if I should decide to upgrade the theme as my changes will be wiped out. Have a child theme running so I may just copy the file over to it.

    Steve

    #66838
    Sakin
    Keymaster

    @steve-large: Yes, to change that you need to build child theme. For child theme, refer to http://catchthemes.com/blog/create-child-theme-wordpress/ and then copy adventurous_social_networks() function to your child theme functions.php file and make modification. In this way, you will not have issue when there is update. If you modify directly in main more theme files/folder in ‘adventurous-pro’ theme directory then your changes will be reverted back to original when you update the theme. So, to make changes in any functions, you need to build child theme and edit it.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Changing the alt text for social icons’ is closed to new replies.