Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Dan Sinclair
1,420 PointsImage hover link not showing up on mobile devices.
On a desktop or laptop my image thumbs on my home page are clickable. However, when I view this on a mobile device it's extremely difficult to be able to click on any of the thumbs.
If I look in the developer tools on a browser I just can't figure out what it is I need to change.
Here is a link to my website: (http://www.studiosinclair.com/)
2 Answers
sizwengubane
15,244 PointsThis is because there is not enough clickable space on the links. To make this more usable u have to give ur links some padding.Go to your css file and select your links that u are having trouble with, and give them a padding of 10px on each side like this
a {
padding: 10px;
}
Mark my answer as the best if i was able to help u
Jesus Mendoza
23,289 PointsHey Dan, the problem is that mobile devices and tablets does not have a mouse to hover the images, when you use your finger to try to hover an image it's counted as a click, not hover!
Dan Sinclair
1,420 PointsGotcha! That totally makes sense. I think I meant to word the question differently.
Dan Sinclair
1,420 PointsDan Sinclair
1,420 PointsAh yes! This is exactly what I was trying to get. Thank you!