Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #781293

    A part of the Problem was solved by you in this Thread:
    https://kriesi.at/support/topic/link-to-next-page-when-using-portfolio-grid-in-enfold-one-page-website/

    If I “click” to the pages directly, the script loads the # ID. That’s great!

    But, when I use the pagination at the Portfolio and “click” to “>” and “>>” or “<<”
    the user gets to the Head of the site.

    Can you add a script for <,>,<<,>> ?

    Thx!

    • This topic was modified 7 years, 8 months ago by McFly.
    #781552

    Hey McFly,

    Could you post a link to the site in question so that we can take a closer look please?

    Best regards,
    Rikard

    #781595

    For Sure ;)

    • This reply was modified 7 years, 8 months ago by McFly.
    #783814

    Hi,

    Thank you for the update. Please edit the previous script, look for this line:

    $('.pagination .inactive').click(function(e) {
    

    Replace it with:

    $('.pagination .inactive, .pagination .inactive + a, .pagination .inactive + a + a').click(function(e) {
    

    Best regards,
    Ismael

    #783877

    Thank you at first! ;)

    This works fine so far, but you forgot the “< and << “!

    This jumps not one back or to page 1, it jumps to “home”/head” as it was.

    Maybe you can correct this, then it will be great!

    Thx!

    • This reply was modified 7 years, 7 months ago by McFly.
    #784371

    Hey!

    Please try this one:

    $('.pagination .inactive, .pagination .inactive + a, .pagination .inactive + a + a, .pagination .pagination-meta + a:not(".current"), .pagination .pagination-meta + a:not(".current") + a').click(function(e) {
    

    Cheers!
    Ismael

    #784575

    Wow! You’re the greatest! Fantastic! Now it’s perfect!

    It makes sense in a One Page Enfold Site, because u.a. of the loading time/SEO ranking!

    Thank you very much for your Patience, your support is great!

    Greets
    McFly

    #785270

    Hi McFly,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #785727

    I surely will! Thank You!

    #785826

    Hi,

    You’re welcome and thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Portfolio Pagination link to ID works wrong’ is closed to new replies.