Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #715572

    Hello,
    Is any function to the Child theme to change output of social icons in header?
    I want to remove class avia_hidden_link_text from icons without using CSS
    Thank you

    #715597

    Hi mdxclr!

    You should find it in enfold\includes\helper-social-media.php line 83:
    $html .= "<a href="'".$icon['social_icon_link']."'" title="'".ucfirst($icon['social_icon'])."'"><span class='avia_hidden_link_text'>".ucfirst($icon['social_icon'])."</span></a>";
    Hope this helps.

    Cheers!
    Nikko

    • This reply was modified 8 years ago by Nikko.
    #715637

    For this I need to change parent theme, but I need make this changes in the child theme.

    #715643

    Hi,

    Try to create includes folder in your child theme then copy helper-social-media.php and past it in the newly created folder and edit the file.

    Best regards,
    Nikko

    #715672

    Yeap, I’ve tried to put that file to child theme and includes folder too.
    It doesn’t work in both times;

    #715687

    And other templates of child theme don’t work, like header.php, footer.php itc.

    • This reply was modified 8 years ago by mdxclr.
    #715696

    Is any fast solution for this? Can’t made any changes of templates on website..

    #715755

    Hi,

    It appears the social media icons are replaced with the text as per your request. Please see the screenshot below.

    You may not see the changes until the cached files are cleared in your browser.

    Please try to hard refresh by pressing Ctrl + Shift + F5 on your browser or press the F12 key to open chrome dev tools and right click on the refresh button and select “Empty Cache and Hard Reload” and review the site again.

    Best regards,
    Vinay

    #715793

    Hard reload doesnt work.
    Try it, I’ve added to class ‘avia_hidden_link_text 1’ , but in frontend it doesnt display

    • This reply was modified 8 years ago by mdxclr.
    #716675

    Hi,

    The text is displaying. Please check it on another computer. This is the css modification.

    #top .av-logo-container .social_bookmarks .avia_hidden_link_text {
        display: block;
    }

    Best regards,
    Ismael

    #717097

    Yeap, with CSS is no problem, but I need to change output from template file and using child theme.

    #717541

    Is any way to do this without css?

    • This reply was modified 7 years, 12 months ago by mdxclr.
    #718306

    Hi,

    help-social-media-php is not a WordPress template file so the child theme will not read it. So it won’t be easily possible unfortuntealy.

    Best regards,
    Andy

    #721233

    I found the solution…
    Just place in the functions.php of Child theme
    require_once( 'includes/helper-social-media.php' );

    Please, add this to FAQ, I’m lost a few days to find it =)

    • This reply was modified 7 years, 11 months ago by mdxclr.
    #721631

    Hi,

    thanks for sharing your solution with us!

    Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.

    Best regards,
    Andy

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Replace social icons with text’ is closed to new replies.