• Resolved madebyted

    (@madebyted)


    Hi, I am using the plugin and would like to add a custom title next to the social network icon.

    I have found the answer: https://www.ads-software.com/support/topic/how-to-add-anchor-text-to-share-links/, I would like to achieve the same but with the option to change the title to a custom word I would choose and not to the name of the network.

    I know I can achieve this with JS but I am interested in a different method (maybe server-side?) because the site is multilangual and using JS to edit the label contents is bad practice.

    Is there a way to achieve that?

Viewing 1 replies (of 1 total)
  • Plugin Author micropat

    (@micropat)

    You can with CSS, for example:

    .a2a_button_facebook:after { content: "Facebook it"; }
    .a2a_button_facebook .a2a_label { display: none; }
    .a2a_button_twitter:after { content: "Tweet it"; }
    .a2a_button_twitter .a2a_label { display: none; }

    display: none; on .a2a_label elements is to prevent screen readers from repeating redundant information.

Viewing 1 replies (of 1 total)
  • The topic ‘Add ‘Share’ custom label’ is closed to new replies.