Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Pankaj Sharma Moderator
    #921546

    Hi
    For this Go to /tpls/blocks/footer.php file in your template folder .
    Find the code below

    <!-- ADDTHIS -->
    <div id="addthis-wrap" class="addthis-wrap">
      <button class="btn btn-primary" title="Addthis"><i class="fa fa-share-alt"></i></button>
      <!-- Go to www.addthis.com/dashboard to customize your tools -->
      <div class="addthis_vertical_follow_toolbox"></div>
    </div>

    Replace it with

    <!-- ADDTHIS -->
    <div id="addthis-wrap" class="addthis-wrap">
      <button class="btn btn-primary" title="facebook">
      <a href="https://facebook.com/joomlart" >
    <i class="fa fa-facebook" style="color: #fff;"></i>
    </a>
    </div>
    

    Change the FB page url with sample url given above .

    Martin Möller Friend
    #921612

    thanks so far! – but the hyperlink is not working. any idea?

    MM

    Pankaj Sharma Moderator
    #921619

    Hi
    i checked your site its working fine and redirect page to your FB page.

    Martin Möller Friend
    #921624

    working with chrome – not working in firefox…mh…

    Pankaj Sharma Moderator
    #922343

    Hi
    Kindly replace the older code with this code

    <!-- ADDTHIS -->
    <div id="addthis-wrap" class="addthis-wrap">
      <a href="https://facebook.com/textartmagazin"> <button class="btn btn-primary" title="facebook">
    
     <i class="fa fa-facebook" style="color: #fff;"></i>
    
     </button> </a>
    </div>

    This will work .
    Actually some browser does not accept anchor tag inside button class .

    Martin Möller Friend
    #922420

    Yes, thats working fine! Thanks!

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

This topic contains 6 replies, has 2 voices, and was last updated by  Martin Möller 8 years ago.

The topic ‘Changing addthis button in Facebook button’ is closed to new replies.