Hey @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
Hi Oguz
Here is a link to a screenshot.
screenshot
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
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
My theme is not finished yet but fully functional and few members posting so plenty of images to see what I mean.
Thanks again.
Hey @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
Hello @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