• Resolved peter-hamilton

    (@peter-hamilton)


    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 to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    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

    Thread Starter peter-hamilton

    (@peter-hamilton)

    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

    Thread Starter peter-hamilton

    (@peter-hamilton)

    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.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    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

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with multiple instances’ is closed to new replies.