Skip to:

Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#5804 closed enhancement (fixed)

Styling of LABEL element needs to be overridden

Reported by: wolfhoundjesse's profile wolfhoundjesse Owned by: djpaul's profile djpaul
Milestone: 2.1 Priority: low
Severity: normal Version: 2.0
Component: Templates Keywords: 2nd-opinion has-patch
Cc: mercijavier@…


In several themes—e.g., Grisaille (1.5.1)—theme styling for the label element is set to a fixed width of 100px or something similar, resulting in illegible instructions when creating a group in BuddyPress:

Adding the following to buddypress\bp-templates\bp-legacy\css\buddypress.css improves legibility:

#buddypress .item-body label {
	width: 100%;

Attachments (3)

5804.01.patch (355 bytes) - added by wolfhoundjesse 10 years ago.
5804.02 (930 bytes) - added by mercime 10 years ago.
5804.02.patch (930 bytes) - added by mercime 10 years ago.

Download all attachments as: .zip

Change History (9)

#1 @mercime
10 years ago

  • Cc mercijavier@… added

Recommend adding width: auto; instead to

#buddypress .standard-form label, 
#buddypress .standard-form span.label {
     display: block;
     font-weight: bold;
     margin: 15px 0 5px 0;

10 years ago

10 years ago

#2 @mercime
10 years ago

Please disregard 5804.02 upload.

#3 @wolfhoundjesse
10 years ago

Even better. Thanks mercime!

#4 @DJPaul
10 years ago

  • Milestone changed from Awaiting Review to 2.1

#5 @djpaul
10 years ago

  • Owner set to djpaul
  • Resolution set to fixed
  • Status changed from new to closed

In 8926:

Templates: fix theme compatibility with form label widths.

Fixes #5804, props mercime and thanks to wolfhoundjesse for the original patch.

#6 @DJPaul
8 years ago

  • Component changed from Appearance - Template Parts to Templates
Note: See TracTickets for help on using tickets.