Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #358234

    Hey,

    after my update to the newest version of your theme my hook for replaceing the social icons with my own images do not work.
    I just the the colored icons at the rollover.

    Do you have an advice for a new solution?

    The Link: http://www.plaetz.de

    I use this custom css:

    #top .social_bookmarks_vimeo {
    background: url(http://www.plaetz.de/wp-content/themes/enfold_2/images/vw_logo.png) no-repeat center;
    }

    #top .social_bookmarks_vimeo:hover a {
    color:#fff;
    background: no-repeat center;
    }

    #top .social_bookmarks_vimeo a {
    text-indent: -9999px;
    }

    #358534

    Hey b00p!

    I checked your link but I don’t see the social icons anywhere. Go ahead and add them back in and let us know when your done.

    Cheers!
    Elliott

    #358940

    Hey Elliott,

    they are placed above search icon at the main header.
    But with the hook i just see the coulored rollover!

    Cheer, Jan

    #359424

    Hey!

    Try to use the absolute uri of the images then add the !important value:

    #top .social_bookmarks_vimeo {
    background: url(https://www.plaetz.de/wp-content/themes/enfold_2/images/vw_logo.png) no-repeat center !important;
    }

    Cheers!
    Ismael

    #359509

    Hey thanks, the !important tag was the solution!
    Last question: How can i edit the alt text of the icons?

    Thanks in advance, Jan

    #359883

    Hey!

    I still do not see them.

    I checked your source code and they are not there so you most likely do not have them set in Dashboard > Enfold > Header.

    They are actually links and not images so they do not need alt tags. See here, https://kriesi.at/support/topic/social-icons-alt-text/. If you want to change the title of the link though then you can see how in that thread.

    Regards,
    Elliott

    #362118

    Hey Elliot,

    the “social Icons” are the 3 carlogos (Audi, VW…)
    And if you stay with the mouse on one logo i see the linktext “Tumblr, Vimeo, Xing…”

    I have tested this but it did not worked:

    In includes/helper-social-media.php line 73 you can add add a title by changing it to this:

    http://pastie.org/8426955

    Thnaks in advance, Jan

    • This reply was modified 10 years ago by b00p.
    #362120

    Hey,

    ive figured it out.
    It is on line 84 in includes/helper-social-media.php.

    $html .= “<span class=’avia_hidden_link_text’>”.ucfirst($icon[‘social_icon’]).”</span>“;

    #362121

    $html .= "<a {$blank} href='".$icon['social_icon_link']."' ".av_icon_string($icon['social_icon'])." title='".ucfirst($icon['social_icon'])."'><span class='avia_hidden_link_text'>".ucfirst($icon['social_icon'])."</span></a>";

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Social Icon Image replacement’ is closed to new replies.