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.
In the function function content_profile_show_profiles($uid)
on line 494 of content_profile.module, the suffix is set as to a line break. This was causing me a problem when theming. I have several content types defined as profile content. I'd set one to be 25% and one to 75% and left float and the line break forced the 2nd item down by 1 line. Initially, I set all the line breaks to not display via css, but then the create links for missing content don't line break properly.
I imagine that having those breaks would be useful in some instances, but not all.
Comment | File | Size | Author |
---|---|---|---|
#2 | content_profile_br_and_p_tag_removal.patch | 1.5 KB | dwightaspinwall |
Comments
Comment #1
fagoClosing old issue, please reopen if the problem persists.
Comment #2
dwightaspinwall CreditAttribution: dwightaspinwall commentedThese br tags threw me for a loop. They should not be in the markup. The attached patch pulls the
tags and changes the p tag to a div.