ThemeShaper Forums » Thematic

Where's the div that surrounds a Tag Cloud within a Widget?

(3 posts)
  • Started 9 years ago by Knittlebittle
  • Latest reply from Knittlebittle
  • This topic is resolved

Tags:

  1. I want to add in a class to the div that surrounds the tag cloud in my widget area.

    From the html generated:

    <div id="left-aside" class="aside main-aside">
         <ul class="xoxo">
              <img src="/images/widgetTop.png"/>
              <li id="tag_cloud-2" class="widgetcontainer widget_tag_cloud">
                   <h3 class="widgettitle">Topics</h3>
    ----->         <div>
                        <a class="tag-link-3" style="font-size: 8pt;" rel="tag" title="1 topic" href="http://www.knittlebits.com/tag/cooking/">cooking</a>
                   </div>
              </li>
    <img class="widgetBottom" src="/images/widgetBottom.png"/>

    See that <div> after the widgettitle? Where does that come from? I don't necessarily need to know how to add to the the code but I can't hook into something that doesn't seem to exist. Argh!

    At the Construction Site

    Many thanks.

    Posted 9 years ago #
  2. Hi,

    this <DIV> comes from the WordPress Tag Cloud Widget. Changing it would mean to hack the core. Install 'Simple Tags' it uses <div class="st-tag-cloud"> at the same place.

    Cheers,

    Chris

    Posted 9 years ago #
  3. No wonder I couldn't find the bloody thing! Thanks a million - the site is almost done and this is one of the last little bits.

    Posted 9 years ago #

RSS feed for this topic

Reply

You must log in to post.