Title: Problem with multiple instances
Last modified: November 13, 2017

---

# Problem with multiple instances

 *  Resolved [peter-hamilton](https://wordpress.org/support/users/peter-hamilton/)
 * (@peter-hamilton)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-multiple-instances/)
 * Hi, not sure how to explain my problem but I have to give it a go.
 * When I try to adjust CSS for nth-child on say each third image/link I find that
   the actual image is wrapped between two extra `<a>` links, I guess this is for
   the thickbox.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-multiple-instances%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-multiple-instances/#post-9677471)
 * Hey [@peter-hamilton](https://wordpress.org/support/users/peter-hamilton/),
 * Hope you’re well.
 * Can you explain more and clear the issue, Maybe you can share a screenshot?
 * Are you referring to before posting photos or after posting photos? And if you
   explain what exactly trying to achieve, maybe I can help you with some CSS codes.
 * Cheers,
    Oguz
 *  Thread Starter [peter-hamilton](https://wordpress.org/support/users/peter-hamilton/)
 * (@peter-hamilton)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-multiple-instances/#post-9680523)
 * Hi Oguz
 * Here is a link to a screenshot.
 * [screenshot](http://seedism.nl/wp-content/uploads/2017/11/images-activity.jpg)
 * As you can see there are three links to the same image.
    The midle one is the
   only one actually showing the image on screen. The other two are in front and
   after the actual link, and all three wrapped in P tags as well.
 * I am trying to show a larger image if only one is posted and smaller images when
   more are posted so targeting the image/link with nth-child and only-of-type.
   
   Since there are two `<a>` tags surrounding the `<a>` tag I aim to target with
   only-of-type this is not possible for me unless I know how to remove those two
   unnecessary links.
 * I hope this makes more sense with the image.
 * Thanks for looking into this for me.
 * Peter
    -  This reply was modified 8 years, 6 months ago by [peter-hamilton](https://wordpress.org/support/users/peter-hamilton/).
    -  This reply was modified 8 years, 6 months ago by [peter-hamilton](https://wordpress.org/support/users/peter-hamilton/).
 *  Thread Starter [peter-hamilton](https://wordpress.org/support/users/peter-hamilton/)
 * (@peter-hamilton)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-multiple-instances/#post-9680576)
 * I have a demo account if you wish to access the site to check the code live
 * username: demo
    password: demo2017
 * Link to login
 * [my site](http://seedism.nl/login/)
 * My theme is not finished yet but fully functional and few members posting so 
   plenty of images to see what I mean.
    Thanks again.
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-multiple-instances/#post-9682827)
 * Hey [@peter-hamilton](https://wordpress.org/support/users/peter-hamilton/),
 * Thank you for screenshot and detailed explanation. I looked it but I think there
   is a conflict/problem with other plugins or theme.
 * Because I tried on my test site with BuddyPress, BuddyPress Activity Plus and
   Default Theme (Twenty Seventeen). And it does not place images like this, there
   is only one link for one image. Can you try plugin conflict and theme conflict
   test to understand the problem?
 * Cheers,
    Oguz
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-multiple-instances/#post-10085052)
 * Hello [@peter-hamilton](https://wordpress.org/support/users/peter-hamilton/)
 * I hope you are doing well today!
 * We’ve not heard from you in a while. I’ve marked this ticket as resolved for 
   now, but if you need anything else at all, we’re here for you, please just reopen
   the ticket or create a new one.
 * Have a good day!
 * Cheers,
    Nastia

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Problem with multiple instances’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-activity-plus_db6c43.svg)
 * [BuddyPress Activity Plus](https://wordpress.org/plugins/buddypress-activity-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddypress-activity-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-activity-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-activity-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-activity-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-activity-plus/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-multiple-instances/#post-10085052)
 * Status: resolved