#7905 closed enhancement (fixed)
Nest the 'flat' formatted tag cloud into some element
Reported by: | hudatoriq | Owned by: | hudatoriq |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Widgets | Keywords: | has-patch commit |
Focuses: | 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)
Note: See
TracTickets for help on using
tickets.
2.7 is feature freeze, sending to 2.8.