Wondering if you guys can help me solve this issue.
When your not on the image I have the opacity of the image at 60% and when rollover it, its at 100% but how can I make it so where when you click on the image and the information opens up for that person it stays at 100%?
Here is the link, you can click on the faces below to see what I mean…
Since you are using JS, you can just add a class to the toggle box that sets its transparency to 100%, and which is removed when clicked again.
BTW, you have at least 4 versions of jQuery loaded on that page. That can cause things to break, and is unnecessary anyway. Don’t add the jQuery library every time you add a jQuery script. Once the browser has loaded the library, it doesn’t need to do it again, and again, and again. Just make sure to link to the one copy of the library before linking to any other scripts on the page, so that they can all look up and reference the one copy.
I think I got all of the versions of jQuery deleted now hopefully.
How would I go about adding the class in JS for the click on the photos.
*Also, I’ve tried different ways to center the image in the div the circle images but can’t seem to get it its always left-aligned for some reason even using margin-left: auto and margin-right: auto which usually works for me.