How to remove the social media icons like Facebook, Twitter etc from prettyPhotos, using jQuery?
It is extremely easy.
Open the css file of the jQuery script “prettyPhotos”.
From there, search for the css class called “.pp_social”.
You can use “Control+F” in Adobe Dreamweaver, Atom, Sublime Text, Notepad, or whatever programming software you use.
On that line, add the following property css property: display:none;
Upload the file and check the result.
The social media icons should now be invisible.
To enable them back, just revert the code changes.
If you know other ways to disabled, remove the social media icons from “prettyPhotos”, please leave in the comments section.
ONE COMMENT
Try This It is more easy
$(“a[rel^=’prettyPhoto’]”).prettyPhoto({
social_tools:”,
});