• Resolved sarahsas

    (@sarahsas)


    Hello! Thanks for the great plugin, I appreciate that you have the option to include the anchor link in the URL for a particular FAQ to be expanded already on page load.

    Question on that though, is there any way to enable functionality that has the page automatically scroll to the anchor link of the expanded FAQ in question?

    For example, on this page, if I include the anchor in the URL: https://rma2024stg.wpenginepowered.com/frequently-asked-questions/#hfaq-post-276

    I would like the page to load and scroll down to that question automatically. Possible?

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Essekia

    (@essekia)

    @sarahsas We already have this feature, but your theme runs a js ui load after the scroll. To fix this I have added a new feature called scrollTo delay in the General Settings. Please check that.

    Thread Starter sarahsas

    (@sarahsas)

    @essekia, super thanks so much for investigating, the delay option works great!

    Thread Starter sarahsas

    (@sarahsas)

    Hi @essekia, so it looks like the anchor link aspect is working, but when you navigate through the list of FAQs and open a new FAQ, the browser is not automatically moving to the new open FAQ – see here:

    https://rma2024stg.wpenginepowered.com/frequently-asked-questions/

    Particularly in mobile view, this is causing an issue for example, if you’re on a phone and reading the first question “WHAT SHOULD I WEAR ON MY WHITEWATER RAFTING TRIP” and you read all the way to the bottom and then click the next question “HOW DO I GET THERE”, you can see the question disappears because the answer content is much shorter than the previous one, and you have to scroll up the page quite a bit again to find the answer – is this also related to the Divi theme conflict from earlier? Or is there a setting we can enable to scroll to open accordion always?

    Please advise, thanks!

    Plugin Author Essekia

    (@essekia)

    @sarahsas In your page above, for me some times it goes and sometime it doesn’t (due to javascript load time). Can you add a small delay in the settings.

    Thread Starter sarahsas

    (@sarahsas)

    @essekia are you talking about if you load the page with an anchor link in the url, like this? https://rma2024new.wpenginepowered.com/frequently-asked-questions/#hfaq-post-273

    With the “On Load Scroll to delay” settings field you added, I’ve already got that set to 2 seconds and that’s working fine:

    The issue I’m referring to happens when you’re already ON the page and you click around between the questions in general https://rma2024new.wpenginepowered.com/frequently-asked-questions

    For example if the first question is expanded and I click on the last question, the browser does not scroll down to the top of the last question. This is particularly an issue in mobile, see screen record of example:

    [video src="https://rma2024new.wpenginepowered.com/wp-content/uploads/2024/02/Screen_Recording_20240229_082328_Chrome.mp4" /]

    Is there a different setting somewhere else that you are referring to?

    Plugin Author Essekia

    (@essekia)

    @sarahsas Ok. Will check this out.

    Thread Starter sarahsas

    (@sarahsas)

    Thanks @essekia, we have launched dev site live today, so the URL has changed – the permalinks should stay the same though:

    New FAQ page: https://shoprma.com/frequently-asked-questions/

    Thread Starter sarahsas

    (@sarahsas)

    Hi @essekia, I’m just following up on this scroll to open accordion issue?

    Plugin Author Essekia

    (@essekia)

    @sarahsas implemented this. Will have to enable a new setting for this, as many people do not want this to be the default option.

    Releasing this tomorrow or friday.

    Thread Starter sarahsas

    (@sarahsas)

    Hi @essekia, super, can you advise when this update is released and how to find the new setting in the settings admin area? I can’t see anything yet… thanks!

    Plugin Author Essekia

    (@essekia)

    @sarahsas v1.21 just released. The new settings in general tab would be ” Enable Same Page Scroll “

    Regards.

    Thread Starter sarahsas

    (@sarahsas)

    Thanks @essekia! that works great in mobile. Wondering if it’s possible to add a px value for an offset in desktop for when there is a sticky header?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Anchor link to open FAQ’ is closed to new replies.