Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Perhaps I am missing something, but my full node display has the labels and fields misaligned. The labels appear to be vertically align to the bottom, while fields are aligned to the top. I tried different fonts to see if was a font-related issue, but the problem does not go away.
Can anybody help, please?
Thanks.
Comments
Comment #1
ajross CreditAttribution: ajross commentedIt's because the label is H2 and there is a top margin for it that the field content doesn't have. I'll try to fix this in a future update, but for now you can add some CSS to the main stylesheet (global.styles.css) to try and fix it. Something like this should work:
Comment #2
manoloka CreditAttribution: manoloka commented#1 sorted the issue for me ... however, I must say that having labels as H2 in not a very SEO friendly decision, why not make them simply bold instead.
Comment #3
Leeteq CreditAttribution: Leeteq commentedYes, they should be set to bold instead of H2.
Comment #4
manoloka CreditAttribution: manoloka commentedHow do you patch the code to change the h2 labels to normal bold
?