Site logo

Archived topic

Blog Index to small

9 replies · Started by Rolf on April 6, 2023

Viewing posts 1–10 of 10

Hey,

i have the issue when i add a index to an artical the types for mobile phones are to small and google complain.

Is there any solution for that ?

Hi there,

try adding this CSS to your site:

.site-main li a {
    display: block;
    padding: 12px 0;
}

It will give the links in your list some top and bottom padding so they are more easily tapped.

Hey David,
that works, Thank you!!!. Why is that not directly included ? save a lot of trouble.
regards
Rolf

The theme doesn't output any content which that CSS would apply to.
And as the li a HTML is used in a lot of places and a lot of plugins that may not want that padding, its better o provide some CSS to on the rare occasions its needed then to provide CSS to remove it.

Glad to be of help.

This archived topic is closed to new replies.