I've got 2 new problems with the accordion function.
- When I begin a new post with an accordion, the excerpt displayed on the homepage is not the first paragraph of my post.
This is the content of the second accordion which is put in the excerpt.
Is there a way to be sure that the first sentence or paragraph of the first tab (accordion) will be used as excerpt ?
- My second demand concern another problem with the accordion function.
I've noticed that when we write a long text in one of the accordion (tab), we scroll down to read the post. But then, when we click on another tab, the screen rest at the same position (at the bottom of the previous tab).
It's a huge problem cause if people doesn't scroll manually to the top of the browser when they click on a new tab, they could miss a part of the post.
So, could you implement a function which makes the screen automatically go to the top of the browser when we click a new accordion (tab) ?