Title: Vertical Alignment
Last modified: August 21, 2016

---

# Vertical Alignment

 *  Resolved [rapportdesign](https://wordpress.org/support/users/rapportdesign/)
 * (@rapportdesign)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/vertical-alignment-4/)
 * 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/](http://function.rapdevs.co.uk/home/about-function/our-people/)
 * A solution would be greatly appreciated!
 * [https://wordpress.org/plugins/meet-my-team/](https://wordpress.org/plugins/meet-my-team/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [rapportdesign](https://wordpress.org/support/users/rapportdesign/)
 * (@rapportdesign)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/vertical-alignment-4/#post-5085990)
 * 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>
       ```
   
 *  [criff415](https://wordpress.org/support/users/criff415/)
 * (@criff415)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/vertical-alignment-4/#post-5086064)
 * 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](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.
 *  Thread Starter [rapportdesign](https://wordpress.org/support/users/rapportdesign/)
 * (@rapportdesign)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/vertical-alignment-4/#post-5086065)
 * 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…

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Vertical Alignment’ is closed to new replies.

 * ![](https://ps.w.org/meet-my-team/assets/icon-256x256.png?rev=2693339)
 * [Meet My Team](https://wordpress.org/plugins/meet-my-team/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/meet-my-team/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/meet-my-team/)
 * [Active Topics](https://wordpress.org/support/plugin/meet-my-team/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/meet-my-team/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/meet-my-team/reviews/)

## Tags

 * [alignment](https://wordpress.org/support/topic-tag/alignment/)
 * [vertical](https://wordpress.org/support/topic-tag/vertical/)

 * 3 replies
 * 2 participants
 * Last reply from: [rapportdesign](https://wordpress.org/support/users/rapportdesign/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/vertical-alignment-4/#post-5086065)
 * Status: resolved