Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

label text always 1-2 px below checkbox (slightly misaligned)

Home / Forums / Virtue Theme / label text always 1-2 px below checkbox (slightly misaligned)

This topic is: Not a support question
[Not a support question]
Posted in: Virtue Theme
February 1, 2020 at 4:48 am

Hi,

this has slightly bothered me for quite some time (but not enough to look into it up to now). On the usual

label
input checkbox or radio
span with text

The span with text is always slightly misaligned, that is about 1-2 px below the checkbox/radio. This kind of markup is on the cart and checkout pages when you select shipping or payment method.

It is also on the login page for my account.

Chrome on Windows 10:
Firefox on Windows 10: (it is easier to see in Firefox since the Inspector has horizontal lines here and you see the 1-2 px gap below the checkbox)

Here for checkout:
Firefox Windows 10:
Chrome Windows 10:

As said it is just 1-2px.

I took pictures on Windows, but sometimes also use Firefox on Ubuntu/Gnome which uses the native system UI elements for checkboxes/radios. And then it really looks like misaligned by rather 2-4px. Not sure about Safari on Mac.

Here’s a screenshot with a line centered on the radio’s center with Chrome for Windows 10: I think it is probably just 1-2px that the label text should be higher (or the radio/checkbox one px lower)

  • The forum ‘Virtue Theme’ is closed to new topics and replies.