#7905 closed enhancement (fixed)
Nest the 'flat' formatted tag cloud into some element
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Widgets | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
When displayed as comma separated format, the clouds don't have any parent block element to assign some stylesheet properties to. When used in a sidebar widget, the tag cloud is on the same level with the widget title.
<li class="widget widget_tag_cloud" id="tag_cloud"> <h2 class="widgettitle">Tag Cloud</h2> <a href="">Tag 1</a> <a href="">Tag 2</a> <a href="">Tag 3</a> </li>
We can't treat the tag clouds as a block, for example styling their margin, padding etc.
When displayed as a list, we are able to do so, cause the tag list is contained inside <ul></ul>.
Providing a parent element to the 'flat' (comma separated) tag cloud would be the solution, for example:
<li class="widget widget_tag_cloud" id="tag_cloud"> <h2 class="widgettitle">Tag Cloud</h2> <p><a href="">Tag 1</a> <a href="">Tag 2</a> <a href="">Tag 3</a></p> </li>
I will come up with patches after hearing some opinions.
Attachments (1)
Change History (8)
- Milestone changed from 2.8 to 2.7
- Owner changed from anonymous to hudatoriq
comment:3
jacobsantos — 5 years ago
- Milestone changed from 2.7 to 2.8
- Keywords needs-patch added
- Milestone changed from 2.8 to Future Release
Denis-de-Bernardy — 4 years ago
- Component changed from Template to Widgets
- Keywords has-patch commit added; needs-patch removed
- Milestone changed from Future Release to 2.8
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

2.7 is feature freeze, sending to 2.8.