Tagged: 

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #1459948

    On this website homepage at the bottom there is a Nieuws&Inspiratie part:

    This is a postsslider with some filtering of categories and amount of posts that will be shown.

    We noticed an error that I try to describe:
    If you go to the homapge and see the 3 slides shown. The link of the IMAGE is not correct (the title and lees meer/read more) are correct.
    When you use the arrows to go left or right and then go back, the link of the image is correct.

    This let me think it must be some javascript that it doing something wrong (since the links are correct, and the page will solve itself when using the arrows).

    Can you tell me what to do, of what javascript is doing this so perhaps I can look for my self?

    Enfold version is 5.5 I believe, already tried (locally) a newer version but this does not seem to solve it.

    #1459971

    Hey Deef,

    Could you try updating the theme to the latest version (5.7.1) to see if that helps please? https://kriesi.at/documentation/enfold/theme-update/.

    Best regards,
    Rikard

    #1459978

    I just uploaded latest version, same problem

    #1459985

    did you get it to work correct? Because on my browser the links of all three are the same.
    (image, title and lees meer)

    • This reply was modified 4 months, 3 weeks ago by Guenni007.
    #1459987

    Hi Guennie007,
    no did not fix it, for me (incognito chrome) it is wrong. hover over the image and alt text (and link) should be the same as text beneath it, but is not:
    Schermafbeelding-2024-06-28-153535

    When you use the arrows below it, (go right, and then go back) then it works:
    Schermafbeelding-2024-06-28-153753

    #1459988

    Aha – I had first checked whether the navigation at the bottom worked and then compared the links at the top. So it is indeed the case that the wrong link exists when you first open it.
    This is strange behaviour.

    #1459989

    And now it becomes realy strange – because if you look to the DOM all Links are sometimes the same as the image goes to!
    click to enlarge:

    #1459990

    Indeed, this is the case….alll links seem to be (dom)correct but some javascript is changing it I guess.

    #1459992

    This is reproducible: if you load the page, and then go to this image, then inspect this image directly with the Dev Tools, and then go to the title in the DOM of the Dev Tools, you will see the same links. Only when you click, the title and the read more button have the “correct” links.

    #1459994

    if you make the screen a bit more narrow – that one of the three images is on the second row : and then hove that image you can see three hover overlays ( move the mouse from top to bottom of the image)

    is it a third-party plugin for hover-styles?

    #1459995

    Yes I see…so there seem to be 4 hovers and only 3 items.
    and once again, when you use the arrows and go back, this problem is fixed (because then you only have 3 hovers).

    Any clue on what is causing this?

    #1459996

    did you set some css to style that section ?
    i do not have display : grid on my slide-entry-wrap nor on slide-entry

    #1459997

    Not me but the person that made it some time ago probably did..Will check with him after the weekend. Thanks for this so far.
    So it seems it might not be a php problem (which I previously thought) nor a JS problem but a CSS one!

    #1459998

    where does that main.css inside child-theme folder comes from?

    I guess here is the crux.
    There are a lot of slider rules inside . – commenting them out – will do the job.
    but i think you had to invest more time to look if these are neccessary.

    #1460249

    Hi,
    Thank you for your patience, I tried checking your page but I don’t see an error, try incluling some screenshots to show the error and a admin login to examine.

    Best regards,
    Mike

    #1460346

    On first load – just klick one of the images of the slider – it will open a different link than the title or read-more link.
    navigating with the arrows to the nex three links and go back to it than – the link of images and the rest will be ok.

    #1460439

    Hi,
    Thanks Guenni007, Deef, try disabling your plugins and if this doesn’t help try enabling the parent theme to see if there is something in your child theme causing this. Also it looks like you are still using v5.5, above you said that you updated but we are using v5.7.1 now.
    If none of this helps include a admin login in the Private Content area so we can examine closer.

    Best regards,
    Mike

    #1460612

    Hi @mike yes there WAS 5.7.1 on it but I reverted that the day before yesterday. Since @guenni007 had some usefull information I thought I would look into it on Monday.
    Did not have a proper check on whether 5.7.1 had some other issues (but at least it did not solve the current one).

    When switching to enfold als current theme (instead of the child) it is not happening, simply because the postslider is not sliding at that point. It just shows the items (correct).

    #1460628

    Hi,

    When switching to enfold als current theme (instead of the child) it is not happening, simply because the postslider is not sliding at that point. It just shows the items (correct).

    I’m not understanding what you mean, your postslider looks the same as our demo, have you customized the element somehow? Perhaps this is the issue?

    Best regards,
    Mike

    #1460631

    there is a main.css embedded – and it has a lot of grid layout settings for these sliders. This main.css has more than 3000 lines – so I don’t want to give any advice here – so as not to influence other elements additionally.

Viewing 20 posts - 1 through 20 (of 20 total)
  • You must be logged in to reply to this topic.