Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Currently comment form title <h2>
and comment form <form>
have same class 'comment-form'. This is bad for styling.
Proposed resolution
Change the comment form title to 'comment-form__title'.
Comment | File | Size | Author |
---|---|---|---|
#2 | shortcut-comment_form_title-2273191-2.patch | 514 bytes | ducktape |
comment-form-title-class.png | 39.17 KB | Dragan Eror |
Comments
Comment #1
Dragan Eror CreditAttribution: Dragan Eror commentedComment #2
ducktape CreditAttribution: ducktape commentedI've changed the title class in the wrapper template.
Comment #3
Dragan Eror CreditAttribution: Dragan Eror commentedThanks @ducktape, looks good.
Comment #5
Dragan Eror CreditAttribution: Dragan Eror commented2: shortcut-comment_form_title-2273191-2.patch queued for re-testing.
Comment #6
neardark CreditAttribution: neardark commentedLooks good.
Comment #8
alexpottCommitted 4d34711 and pushed to 8.x. Thanks!