Tag Cloud Spacing
-
In WordPress 4.9, the tag cloud code has been changed.
The new code uses a lists and also the css
.tagcloud ul li { display: inline-block; }
such as here for bundled themes: https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentytwelve/style.css#L1458
When the HTML is minified however, the “li”s are together and it removes the spacing between the tags.
This is strange but from my reading, this is not a bug for “inline-block”.
So ideally, one should restore the spacing between the “li”s.
This can also be solved by additional css but for users who know less or don’t notice or have less time, the fix maybe required from the plugin side. ie, not minify the part where the tagcloud is, or keep space.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Tag Cloud Spacing’ is closed to new replies.