• I’d like to make a few small adjustments to the Tag Cloud display (padding, etc.), but I can’t seem to find the proper place to do this. I’ve poked around all the PHP and CSS files, but I must be missing it.

    Could someone point me to the proper file where I can adjust the Tag Cloud’s display output?

Viewing 4 replies - 1 through 4 (of 4 total)
  • A link to your site would help.

    Thread Starter el_furioso

    (@el_furioso)

    The tag cloud links themselves are all inside <div class="st-tag-cloud"> and are simply separated by a single space:

    <div class="st-tag-cloud">
    <a id="tag-link-10" class="st-tags t1" style="font-size: 8pt; color: rgb(87, 150, 184);" rel="tag" title="12 topics" href="http://cohmissionreview.com/tag/5thcolumn/">5th Column</a>
    <a id="tag-link-28" class="st-tags t2" style="font-size: 9.11pt; color: rgb(105, 161, 191);" rel="tag" title="18 topics" href="http://cohmissionreview.com/tag/arachnos/">Arachnos</a>
    [...]
    </div>

    The font size is being applied inline as per the standard wp_tag_cloud() template tag but text color is also be applied in rgb format – which isn’t part of wp_tag_cloud. So either the cloud is being generated by a plugin or via a customised function in the theme’s functions.php file. If you’re not using a tag cloud plugin, have a look at sidebar.php and see what comes immediately after wp_get_archives. It might give you a clue as to what function is generating the cloud.

    I can’t see anything in the current CSS for the cloud, so I’d suggest that you add your own CSS to the bottom of style-sidebar.css using .st-tag-cloud and .st-tag-cloud a.

    Hope that helps.

    Thread Starter el_furioso

    (@el_furioso)

    That helped immensely. Sometimes, all it takes is a little push, huh? 🙂

    Thanks very much!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Customize Simple Tags Cloud Appearance/CSS?’ is closed to new replies.