Jump to content

Editing Product block social


Recommended Posts

I am looking to edit the look of the block social that goes on every product.  I can't seem to find where or how to edit the look of the boxes.

 

Currently they are the default rectangles with grey backgrounds.  Anyone know what file I would edit this in?

 

thank you,

 

 

Link to comment
Share on other sites

Its called Social Sharing by Prestashop v1.2.1  It displays buttons for facebook, pinterest, etc that will pin or create a post for the current product.  Prestashop version is 1.6.0.6 using the default theme it comes with.  The plugin is under modules->Advertisement and Marketing, it's the one with the blue logo that looks like a less than sign.

 

Thank you.

Link to comment
Share on other sites

i understand, thank you

you can remove these texts with translations

go to localization > translations

from dropdown select installed modules translations

then search for "Pinterest", you will see rest of the social networks then

just instead of "Pinterest" use "" (none) the same for other things like facebook, twitter

  • Like 1
Link to comment
Share on other sites

There is probably a workaround but it's what I did to make it work.  Basically just replaced the text sinde of the btn-twitter class with the same html replacing the words inside.  Does that make sense?

        $(".btn-twitter").html($(".btn-twitter").html().replace("Tweet", ""));

        $(".btn-facebook").html($(".btn-facebook").html().replace("Share", ""));

        $(".btn-google-plus").html($(".btn-google-plus").html().replace("Google+", ""));

        $(".btn-pinterest").html($(".btn-pinterest").html().replace("Pinterest", ""));
Link to comment
Share on other sites

I tried this but it did not work for me. I ended up just removing the html inside of the div with jquery.  Thank you sir.

 

strange

do you selected theme in second dropdown on localization > translations tab?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...