WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
Suggestion (2 posts)

5 stars
  1. Geseth
    Member
    Posted 1 year ago #

    When I start using youre theme I wanted to add changing icons for social media when I put the mouse on them. I was looking for an appropriate solution and finally I did. It would be good if you added it to yours theme. Here is a sample code:

    if (!empty($options['twitter_uid'])) echo '<li class="twitter-icon"><a href="' . $options['twitter_uid'] . '" onmouseover={twitter.src="' . get_stylesheet_directory_uri() . '/icons/twitter-icon-active.png"} onmouseout={twitter.src="' . get_stylesheet_directory_uri() . '/icons/twitter-icon.png"}>'
                        .'<img name="twitter" src="' . get_stylesheet_directory_uri() . '/icons/twitter-icon.png" width="24" height="24" alt="Twitter">'
                        .'</a></li>';

    It's realy work: picture

    PS. I'm realy sorry, but i'm not polyglot. My knowledge of the english language are low ;)

  2. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    Hi Geseth,

    Please post on http://themeid.com/help/ instead. This section is for reviews only.

    Thanks,
    Emil

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.