Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#7199 closed defect (bug) (wontfix)

add clear:both for the default gallery style

Reported by: mark-k Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.6
Component: Gallery Keywords:
Focuses: Cc:


some of the themes have a floating div which contains the date of the post. In those themes, when the gallery is inserted in the beginning of the post, the result is less then optimal.

Adding clear:both to the default gallery style should fix this.

Change History (5)

#1 @DD32
10 years ago

  • Milestone set to 2.7

#2 @ryan
10 years ago

  • Component changed from General to Gallery
  • Owner anonymous deleted

#3 @DD32
10 years ago

Adding clear:both to the gallery by default will also break other themes which use floats for other items, Adding floats breaks my theme for example.

If a theme needs the gallery styles to be floated, Then theres no reason why the theme cannot be modified to output different gallery CSS.

Suggest closing as wontfix myself; leaving it up for someone else however.

#4 @DD32
10 years ago

(My 2nd paragraph was supposed to read "If a theme needs the gallery styles to be cleared, then....)

#5 @ShaneF
10 years ago

  • Milestone 2.7 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Agree. This would be a "filter" for a particular theme. This is also a dup of #7607

Note: See TracTickets for help on using tickets.