Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1192299
    mathruD
    Participant

    I am using the portfolio to display portfolio items. However, if I click on an image to open it with lightbox, and then click the “x” to close the image, the browser then jumps back to the top of the page. I don’t want it to do that. The page should stay where it is when closing a lightbox image. How can I fix this?

    #1192374
    Rahul
    Moderator

    Hey There,

    Thanks for writing in!

    To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1200746
    mathruD
    Participant
    This reply has been marked as private.
    #1200750
    mathruD
    Participant

    And I know why closing a lightbox image jumps to the top of the page, I just don’t know where, within the X Theme files, to find the lightbox code so that I can edit it. Closing a lightbox image jumps to the top of the page because the “X” button on the lightbox image has the following code:

    <a class="pp_close" href="#">Close</a>

    Where can I find that code so that I can change the href value?

    #1200879
    Jade
    Moderator

    Hi there,

    It seems that the user that you have provided do not have the access to view the pages because the coming soon page is still showing up upon viewing the page after login.

    Kindly temporarily set the user as an admin user so that we could check this.

    #1200988
    mathruD
    Participant

    Ok. The user has been update to an admin.

    #1201505
    Lely
    Moderator

    Hi There,

    I am now able to check but it is not jumping on top of the page. See this:http://screencast-o-matic.com/watch/cD6fh6jup8

    Then I check on Firefox and saw the issue. Please check this thread:https://community.theme.co/forums/topic/how-to-disable-scrolling-when-a-form-is-opened-in-lightbox/

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1192299 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>