• When scrowling to sections…the second section contains ALBUMS from Nextgen…..when taping any album it open at to top of the page…not in the section

    I need it to open in same location, no scroll needed to see cont3nt or a new page….

    Help

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    1. Install this plugin: https://www.ads-software.com/plugins/custom-css-js/
    2. Go to the “Edit JS code” section: https://ps.w.org/custom-css-js/assets/screenshot-3.jpg?rev=1770918
    3. Select options, “External file”, “Footer”, “In Frontend”
    4. Add the following code:
      
      (function pointGalleryLinksToContent($) {
      	var galleryLinks =  $('a[href*="nggallery"]');
      	
      	galleryLinks.each(function() {
      		
      		$(this).attr('href', $(this).attr('href') + '#content');
          });
      
      })(jQuery);
      
    5. Press “Update”
    Thread Starter Lhemmerich

    (@lhemmerich)

    Thsnks, but did not fix issue, but did chsnge it..
    Now ..after clicking on an album..the page goes above the first section…not staying in current section…

    I an NOT a coder so have no idea what this does, but did improve!

    Thread Starter Lhemmerich

    (@lhemmerich)

    Its is going to the homepage and not the section 2 which is part of the twentyseventeen theme

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Oh okay. Does this happen without your plugins?

    Thread Starter Lhemmerich

    (@lhemmerich)

    Yes, but before your change it went to the header…which is the whole home page..this is site..

    Jaynehemmerich.com

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I’m not sure I understand the issue. Can you walk me through what I need to click on?

    Thread Starter Lhemmerich

    (@lhemmerich)

    Start at
    Jaynehemmerich.com

    Screen should be full screen off bufflo
    SCROLL…Should see..about,,then SECTION 1 books and then SECTION 2 photos

    In section 2 there are several pictures which are albums with links to photo galleries…

    CLICK on the first picture..its a landscapr with the captionof HERE and There…2 galleries

    When you click on that picture it takes you to the header picture at the top …I want it to open in another page..

    If you scrolldown again..you will find that it did link to the galleries snd they are displayed where the albums were. If it would open there rather thsn at the top, that would be fine too

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Content of section opens at top of psge’ is closed to new replies.