#16178 closed defect (bug) (fixed)
TwentyTen: Fix Clear-Floats Issue on Paginated Posts
| Reported by: | chipbennett | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Themes | Version: | 3.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
TwentyTen does not properly clear floats between the_content() and wp_link_pages(), such that, on paginated posts, if the last element in the_content() is floated (e.g. a floated image), the output from wp_list_pages() renders next to, rather than below, the floated element.
Simple fix: add clear:both to the definition of the CSS class "page-link" that is applied to the container DIV for wp_link_pages() output.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fixes TwentyTen style.css to add "clear:both" to .page-link class