Home Forums Bee WordPress Theme Open Social media icons in new Tab

This topic contains 8 replies, has 4 voices, and was last updated by  Johnny 3 years, 9 months ago.

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

    Palmeroni
    Participant

    Hi,

    How can i get the Social icons to open in new tab, rather than in same window thanks ?

    #1476

    Johnny
    Participant

    hi, add this line jQuery('a.social_active').attr('target', '_blank'); at the bottom before ‘})’ in file js/custom.core.js,
    Thank you

    #1493

    Palmeroni
    Participant

    Sweet , worked a dream

    Thanks

    Resolved

    #1523

    chelseajones
    Participant

    how would I add this to child theme. social media should always open in new window, I am using BEE 1.4

    • This reply was modified 3 years, 10 months ago by  chelseajones.
    #1529

    Johnny
    Participant

    Hi, please paste you page url with social icons, I will examine this for you later,

    Thank you

    #1569

    cnovamacias
    Participant

    I can not seem to find the js/custom.core.js. Is this not located in the folder js and called custom.core.js?

    #1584

    Johnny
    Participant

    Hi, if you use bee theme, file custom.core.js sure be there bee/js/custom.core.js,
    Thank you

    #1742

    chelseajones
    Participant
    This reply has been marked as private.
    #1745

    Johnny
    Participant

    Hi, sorry for my fault. in the new version of theme bee, place this code to file bee/js/custom.theme.js for open new tab when click social icons:
    jQuery('a.social_active').attr('target', '_blank');,
    to change elements css rule, please add new css rules to file bee/functions/theme/theme-sytle.php at the bottom,
    Best

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.