Solved

What makes photo move when figcaption comes up?

Posted on 2016-09-15
2
54 Views
Last Modified: 2016-09-15
http://www.goodlowsodiumfoods.com/responsive/  near the top of the page, there are three photos of food, and when you hover over each one, a figcaption appears.

Client doesn't like that the photo moves up when the caption scrolls up. I can't figure out what code is doing that. Can you help?

Thanks, this is a template I am using.
0
Comment
Question by:mel200
2 Comments
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 total points
ID: 41800039
Remove from main.css

.no-touch .mask figure:hover img,
.mask figure.cs-hover img {
	-webkit-transform: translateY(-30px);
	-moz-transform: translateY(-30px);
	-ms-transform: translateY(-30px);
	transform: translateY(-30px);
}

Open in new window

0
 

Author Closing Comment

by:mel200
ID: 41800130
Genius!! Thanks.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now