albums loading location behavior
-
Hello. I have a page on which I have some “other content” sitting above a nextgen album. Everything is functioning as it should, but I would like to customize a behavior and I’m wondering if it’s even possible.
When I start interacting with the galleries within the album on this page, the default behavior is to load the breadcrumbs and the gallery content in the same location on the overall page as where the album is (which is below the “other content” mentioned before). As a visitor to the site, this makes it difficult to find the gallery, as you have to scroll down past the header and the “other content” to locate it every time, which isn’t ideal.
I have two solutions in mind, wondering if either will work and how/where to implement them.
1. Is it possible to make it so that when you click on a gallery within the initial album, the new page loads with an anchor to the location of the gallery, so the visitor doesn’t have to scroll down?
OR, my other idea:
2. If I create a class for the “other content”, I can set it to display:none; using CSS, however, I’m at a loss as to how to target the internal pages of the album & galleries, because the page id remains the same even though the url path is different (i.e. https://joemeldrum.com/media/ and https://joemeldrum.com/media/nggallery/production-photos/chicago are both still technically .page-id-70, so how to use css to say “don’t display this class when the galleries are loaded below it”)
I understand that I can just build dedicated pages to each gallery and load those specific pages through the album’s navigation instead, but this sort of defeats the purpose of using an album setup, and will make it more difficult for my client to add new galleries to the album himself in future if he so desires.
I hope I have explained my question adequately. Looking forward to hearing if anyone has a solution for me. Thanks!!
The page I need help with: [log in to see the link]
- The topic ‘albums loading location behavior’ is closed to new replies.