No credit card. Takes under a minute.

Login
INSIGHTS2 MIN READ

Tap targets are small!I made mine bigger!

dorina62

Published on July 3, 2016

Published on Wealthy Affiliate — a platform for building real online businesses with modern training and AI.

If you test your site with

https://developers.google.com/speed/pagespeed/insi...

or https://varvy.com/

or https://varvy.com/mobile/

you will see

Size tap targets appropriately

WARNING:These worked for Dark Elements theme and test this on your test site!

I took the code

li a{line-height:1.8;}@media(min-width:60em){li a{line-height:1.2;}}

from https://varvy.com/mobile/tap-target-size.html

and put it like this: Go to Appearance, Editor, Stylesheet(style.css)

I inserted like in the picture:

Ready to put this into action?

Start your free journey today — no credit card required.

I tested after with

https://developers.google.com/speed/pagespeed/insi...

(You will find this in the bottom of the page after the test)


I tested with https://varvy.com/mobile/ before it was 96/100 mobile friendly, but now after I added this code it is 100/100.To see it better I like to use https://varvy.com/

You can see it now it is green, before it was orange, now it is green!

For my first site, because I have only 2 sites, no more I use Stargazer theme, so I added this code in Header.php(go to Appearance, Editor, Header.php)

(The DarkElements theme had it, so no need to add it).You can find details about this code in the URL!

meta name=viewport content="width=device-width, initial-scale=1">
https://developers.google.com/speed/docs/insights/...

after I'm taking the code

li a{line-height:1.8;}@media(min-width:60em){li a{line-height:1.2;}}

and add it in Stargazer Theme(go to Appearance, Editor, Stylesheet(style.css)

I put it first in my site test with Stargazer theme.

You can read more in this article about tap targets.

You must clear your cache to see the change!


Share this insight

This conversation is happening inside the community.

Join free to continue it.

The Internet Changed. Now It Is Time to Build Differently.

If this article resonated, the next step is learning how to apply it. Inside Wealthy Affiliate, we break this down into practical steps you can use to build a real online business.

No credit card. Instant access.

2.9M+

Members

190+

Countries Served

20+

Years Online

50K+

Success Stories

The world's most successful affiliate marketing training platform. Join 2.9M+ entrepreneurs building their online business with expert training, tools, and support.

Member Login

© 2005-2026 Wealthy Affiliate
All rights reserved worldwide.

🔒 Trusted by Millions Worldwide

Since 2005, Wealthy Affiliate has been the go-to platform for entrepreneurs looking to build successful online businesses. With industry-leading security, 99.9% uptime, and a proven track record of success, you're in safe hands.