Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1338949

    Hi, on this website, the social icons are not opening in a new tab – top bar.

    Also, the Youtube icon does not appear – the other two are white and appear, but the Youtube link is there, but transparent or red, don’t know why it’s not taking on the color of the top bar,other icons, I don’t have any special css in there. You’ll notice it’s there, you can hover over it and see the background change a bit.

    Finally, can I center these?

    Site is here: https://ionafiredistrict.com/

    #1339088

    Hey Eleina_Shinn,
    Thank you for the link to your site, I see that your top bar social icons don’t have the target _blank attribute as they should, I’m not sure what is causing this, perhaps a custom script or a plugin, you could try disabling these or I wrote this script to add it back, try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function custom_social_target_script() { ?>
        <script>
    
    (function($){
      $('.av_extra_header_active>.container>.social_bookmarks li').each(function(){
        $('a').attr('target','_blank');
      });
    }(jQuery));
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_social_target_script');

    Your YouTube icon is showing for me
    2022-02-05_009.jpg
    and each of your social icons have a mouse-over color, FB is blue and YT is red, a little different from your red so that is why the background changes some, did you want to remove the mouse-over color?
    If you don’t see the YT icon please check your browser for an AD-Blocker or a FB browser add-on which would be blocking it from you.

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.