WordPress.org

Forums

Meet My Team
[resolved] Vertical Alignment (4 posts)

  1. rapportdesign
    Member
    Posted 10 months ago #

    The overlay position is based on the document height and not the top of the window.

    This is a problem when scrolling down the page and clicking a team member.

    Please see the link below for an example...

    http://function.rapdevs.co.uk/home/about-function/our-people/

    A solution would be greatly appreciated!

    https://wordpress.org/plugins/meet-my-team/

  2. rapportdesign
    Member
    Posted 10 months ago #

    As a quick fix, I've added the following to my footer...

    <script>
    	jQuery(document).ready(function(){
    		jQuery('.mmt').click( function() {
    			jQuery('html, body').animate({ scrollTop: 0 }, 0);
    		});
    	});
    </script>
  3. criff415
    Member
    Posted 10 months ago #

    I noticed you marked this as resolved, but when I visited you site, you seemed to be having the same issue. Were you able to fix it? I tried adding your code to the page, but it didnt seem to work.

    Here is my page - http://www.criffelphotos.com/academy/?page_id=5207

    Any help would be appreciated. Ive reached out to the plugin author, but haven't heard anything back.

  4. rapportdesign
    Member
    Posted 9 months ago #

    My code doesn't exactly achieve vertical alignment, but when a profile picture is clicked, it auto scrolls the page back to the top, so that the profile popup can be seen.

    I checked your code and you don't seem to have added my code to the footer. It appears much higher up in the page, somewhere within a style tag, which is an issue.

    However, looking at your site makes me think that my code wouldn't be much use, because Micheal is the only one having a display issue and your problem is it's going off the bottom of the screen, whereas mine was it going off the top of the screen.

    Sorry I can't be of more help...

Reply

You must log in to post.

About this Plugin

  • Meet My Team
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic