-
AuthorPosts
-
April 9, 2019 at 5:54 am #1088533
We reported this issue before quite some time ago, but it still has not been fixed in Enfold. I just installed the latest version and checked. It happens in the Masonry gallery, when we have pagination turned on and click on one of the pagination numbers of the gallery it jumps back up to the top of the page. So in our case the user has to scroll down to the Masonry gallery again every time they try to view another page in the gallery. That’s really bad usability. Can this be fixed in Enfold please?
In the meantime is there a temporary fix that we can implement?
April 12, 2019 at 3:02 am #1089826Hey Michael,
Thank you for using Enfold.
This is a WordPress core issue and not something directly related to the theme. We created a custom script as a workaround.
// https://kriesi.at/support/topic/masonry-galery-with-pagination-link-not-working-correct/#post-976151
You need to place the masonry gallery inside a color section with a unique Section ID.
Best regards,
IsmaelApril 12, 2019 at 5:14 am #1089857Thanks Ismael, I’ll try that.
April 13, 2019 at 4:20 am #1090243Hi,
Thanks for the update, we’ll keep this thread open in case you should need any further help on the topic.
Best regards,
RikardMay 26, 2019 at 3:13 am #1104252This solution doesn’t work for us. I just tried it on one page and it makes no difference.
May 28, 2019 at 8:10 am #1104728Hi,
Thanks for the update.
Where did you add the code? We can’t find it in the functions.php file. And you haven’t applied a unique ID to the section containing the masonry element.
Best regards,
IsmaelMay 30, 2019 at 5:42 am #1105337Sorry Ismael, I set up the color section and ID on a different page, and then removed it when it didn’t work. I’ve set it up again on the page in the private data.
The code is set up in the Functionality plugin. We don’t use a child theme, and I don’t have the option to create one due to budget constraints, and of course putting it directly into the functions.php file is a bad idea. The Functionality plugin is supposed to work the same way as a theme’s function.php file.
May 30, 2019 at 6:03 am #1105344Okay, I just added this code into the Enfold functions.php file directly. That worked. It’s still not good because it means that every time we upgrade it has to be added in again.
If this issue can be fixed by adding this code to the Enfold functions file, and it’s going to cause an issue for anyone who is using a gallery anywhere on a page except at the very top (obviously it’s a problem for many people so far), then why don’t you just add it to the functions.php file? And ideally make the change to the galleries so that they have an ID without needing to be put into a color block? That would solve the problem.
May 31, 2019 at 4:58 am #1105584Hi,
Glad it worked. You should create a child theme if you don’t want it to be removed on update.
// https://kriesi.at/documentation/enfold/child-theme/#how-to-install-the-child-theme
Best regards,
IsmaelJune 8, 2019 at 4:38 am #1108371I’d love to create a child theme. We make changes to another file as well so it would really help. I don’t have the budget for it though.
June 8, 2019 at 4:41 am #1108372We have one page which has multiple galleries. I have named the color sections uniquely, but still there is the problem of it not jumping back down to the gallery when a pagination link has been clicked. Also, if I click to page 2 of one gallery, all the other galleries go to page 2 as well. I’m adding the URL to this page in the Private Content. In the previous private content info I put the login details.
June 11, 2019 at 3:25 am #1108962Hi,
I don’t have the budget for it though.
Moving to a child theme is quite easy, so there’s no need to hire someone else. Just follow the instructions in the documentation.
// https://kriesi.at/documentation/enfold/child-theme/#how-to-install-the-child-theme
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.