Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

What makes photo move when figcaption comes up?

Posted on 2016-09-15
2
56 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

839 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