Solved

What makes photo move when figcaption comes up?

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Find out what you should include to make the best professional email signature for your organization.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

713 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