Make WordPress Core

Opened 7 years ago

Closed 7 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)

comment:1 @DD327 years ago

  • Milestone set to 2.7

comment:2 @ryan7 years ago

  • Component changed from General to Gallery
  • Owner anonymous deleted

comment:3 @DD327 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.

comment:4 @DD327 years ago

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

comment:5 @ShaneF7 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.