Top Align Gallery Images

Share this resource

Share on facebook
Share on twitter
Share on linkedin
Share on email
Share on facebook
Submitted by: Donald McGuinn

This is an odd one but I needed it so here it is! On this site, for the professionals adding their portfolio items, those are mainly screenshots. While the “center center” position works great for regular images, screenshots, on the other hand, look weird when positioned that way. So this will align the image to the top instead of the center. See before and after below.

/*MESSAGES CLOSE BUTTON*/
#ml-messages-modal button.close{
	background: #f94954;
	color: white;
	text-shadow: none;
}

#ml-messages-modal button.close:before{
	opacity: 1;
}