<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Tag: class</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Tue, 21 May 2013 18:33:17 +0000</pubDate>

<item>
<title>Mihovil on "Which file should I edit to add my own class to class="attachment-thumbnail" ?"</title>
<link>http://themeshaper.com/forums/topic/which-file-should-i-edit-to-add-my-own-class-to-classattachment-thumbnail#post-27374</link>
<pubDate>Mon, 11 Jun 2012 15:35:29 +0000</pubDate>
<dc:creator>Mihovil</dc:creator>
<guid isPermaLink="false">27374@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Switched to the new forum -&#38;gt; &#60;a href=&#34;http://thematictheme.com/forums/topic/which-file-should-i-edit-to-add-my-own-class-to-classattachment-thumbnail/&#34; rel=&#34;nofollow&#34;&#62;http://thematictheme.com/forums/topic/which-file-should-i-edit-to-add-my-own-class-to-classattachment-thumbnail/&#60;/a&#62; :)
&#60;/p&#62;</description>
</item>
<item>
<title>Mihovil on "Which file should I edit to add my own class to class="attachment-thumbnail" ?"</title>
<link>http://themeshaper.com/forums/topic/which-file-should-i-edit-to-add-my-own-class-to-classattachment-thumbnail#post-27372</link>
<pubDate>Mon, 11 Jun 2012 14:59:56 +0000</pubDate>
<dc:creator>Mihovil</dc:creator>
<guid isPermaLink="false">27372@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi everyone,&#60;/p&#62;
&#60;p&#62;Can someone please tell me which page of TTF should I edit to add my own class to &#34;attachment-thumbnail&#34; class? Basically what I need to do is add new class so I will get this: class=&#34;attachment-thumbnail lightbox&#34; - this way my attached images will open in a pop up and not just in the parent window as they do by default.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "[HOW TO] Add custom js depending on browser type and version"</title>
<link>http://themeshaper.com/forums/topic/how-to-add-custom-js-depending-on-browser-type-and-version#post-24206</link>
<pubDate>Thu, 08 Dec 2011 12:17:17 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">24206@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;nice share!
&#60;/p&#62;</description>
</item>
<item>
<title>wlanni on "[HOW TO] Add custom js depending on browser type and version"</title>
<link>http://themeshaper.com/forums/topic/how-to-add-custom-js-depending-on-browser-type-and-version#post-24197</link>
<pubDate>Thu, 08 Dec 2011 07:07:30 +0000</pubDate>
<dc:creator>wlanni</dc:creator>
<guid isPermaLink="false">24197@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hello!&#60;/p&#62;
&#60;p&#62;I was struggling to do this and thought I'd share it out in case anyone else searches for something similar.&#60;/p&#62;
&#60;p&#62;The problem: I needed to enqueue different versions of a light box js (MediaBoxAdvanced in this case) for different browsers, as for some reason IE7 and IE8 were throwing back an error that the methods in use in the newer MBA weren't supported.&#60;/p&#62;
&#60;p&#62;I always create a custom js_head_load() function that I probably picked up here years ago. And, we all know (or will rapidly find out) about using conditional statements. HOWEVER, there are no specific conditionals for detecting both a browser type AND a browser version number.&#60;/p&#62;
&#60;p&#62;BUT, we also all know (or will rapidly find out) about the really freakin' sweet custom body classes thematic adds, including browser specific classes. (The most recent updated versions of browsers including mobile may have been added recently as well, not sure. &#60;a href=&#34;http://themeshaper.com/forums/topic/dynamic-body-classes&#34;&#62;See this post.&#60;/a&#62;)&#60;/p&#62;
&#60;p&#62;So I added this conditional to my enqueue function that searches the thematic_body_class() set of strings. If ie7 or ie8 appear on that list, it registers the older version of the script. Otherwise, it just uses the most recent version.&#60;/p&#62;
&#60;p&#62;This would be even better if it were converted into a custom conditional function, but at the moment I've got a ton of work to do, so that will have to wait.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function js_head_load(){

	 $body_classes = thematic_body_class( $print = false);
	if(!is_admin()){  //so that we&#38;#39;re not loading unecessary scripts in the admin
		wp_deregister_script(&#38;#39;jquery&#38;#39;);

		//load jquery libs off google
		wp_register_script(&#38;#39;jquery&#38;#39;, (&#38;quot;http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js&#38;quot;), &#38;#39;1.7.0&#38;#39;);
		wp_enqueue_script(&#38;#39;jquery&#38;#39;);

		wp_register_script(&#38;#39;jqueryui&#38;#39;, (&#38;quot;https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js&#38;quot;), &#38;#39;1.8.16&#38;#39;);
		wp_enqueue_script(&#38;#39;jqueryui&#38;#39;);

		//detect if browser is ie7 or ie8.
		//If so, load in old versions of mootools and mediaboxadvanced
		if ( stripos($body_classes, &#38;quot;ie7&#38;quot;) &#124;&#124; stripos($body_classes, &#38;quot;ie8&#38;quot;) !== false) {
			wp_register_script(&#38;#39;mootools&#38;#39;, get_bloginfo(&#38;#39;stylesheet_directory&#38;#39;) . &#38;#39;/js/mootools-1.2.5-core-yc.js&#38;#39;, false, &#38;#39;1.2.5&#38;#39;);
			wp_register_script(&#38;#39;mediabox&#38;#39;, get_bloginfo(&#38;#39;stylesheet_directory&#38;#39;) . &#38;#39;/js/mediaboxAdv-1.2.5.js&#38;#39;, array(&#38;#39;mootools&#38;#39;), &#38;#39;1.2.5&#38;#39;);

		} else {
			wp_register_script(&#38;#39;mootools&#38;#39;, get_bloginfo(&#38;#39;stylesheet_directory&#38;#39;) . &#38;#39;/js/mootools-core-1.4.2-full-compat.js&#38;#39;, false, &#38;#39;1.4.2&#38;#39;);
			wp_register_script(&#38;#39;mediabox&#38;#39;, get_bloginfo(&#38;#39;stylesheet_directory&#38;#39;) . &#38;#39;/js/mediaboxAdv.js&#38;#39;, array(&#38;#39;mootools&#38;#39;), &#38;#39;1.5.4&#38;#39;);
		}
		wp_enqueue_script(&#38;#39;mootools&#38;#39;);
		wp_enqueue_script(&#38;#39;mediabox&#38;#39;);
	}
}
add_action(&#38;#39;init&#38;#39;, &#38;#39;js_head_load&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Jonny Janiero on "Adding class to content div"</title>
<link>http://themeshaper.com/forums/topic/adding-class-to-content-div#post-21633</link>
<pubDate>Sat, 04 Jun 2011 15:24:32 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">21633@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;yes, that solution should work.&#60;br /&#62;
you could also use conditional tags to display a different class value for different layouts, etc.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function change_content_class(){
   if (is_category() {
      $class =  &#38;#39;&#38;lt;div id=&#38;quot;content&#38;quot; class=&#38;quot;grid_18&#38;quot;&#38;gt;&#38;#39;;
   } else {
      $class =  &#38;#39;&#38;lt;div id=&#38;quot;content&#38;quot; class=&#38;quot;grid_22&#38;quot;&#38;gt;&#38;#39;;
   }
   return $class . &#38;quot;\n&#38;quot;;
}
add_filter(&#38;#39;thematic_open_id_content&#38;#39;,&#38;#39;change_content_class&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>helgatheviking on "Adding class to content div"</title>
<link>http://themeshaper.com/forums/topic/adding-class-to-content-div#post-21632</link>
<pubDate>Sat, 04 Jun 2011 02:54:16 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">21632@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;well taking a quick look at any of the templates i see&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;echo apply_filters( &#38;#39;thematic_open_id_content&#38;#39;, &#38;#39;&#38;lt;div id=&#38;quot;content&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;so i believe you ought to be able to filter it&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function change_content_class(){
   return &#38;lt;div id=&#38;quot;content&#38;quot; class=&#38;quot;grid_18&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;;
}
add_filter(&#38;#39;thematic_open_id_content&#38;#39;,&#38;#39;change_content_class&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;totally untested
&#60;/p&#62;</description>
</item>
<item>
<title>mikeward on "Adding class to content div"</title>
<link>http://themeshaper.com/forums/topic/adding-class-to-content-div#post-21616</link>
<pubDate>Fri, 03 Jun 2011 01:48:15 +0000</pubDate>
<dc:creator>mikeward</dc:creator>
<guid isPermaLink="false">21616@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I am sorry if this is a repeat but I cannot find a valid solution.&#60;/p&#62;
&#60;p&#62;I would like to add a class to the &#38;lt;div id=&#34;content&#34;&#38;gt; to make it say &#38;lt;div id=&#34;content&#34; class=&#34;grid_18&#34;&#38;gt; or something along those lines. I have code working for the primary and secondary asides but cannot get it to work for the content div. Can anyone help?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Classes to highlight menu for posts"</title>
<link>http://themeshaper.com/forums/topic/classes-to-highlight-menu-for-posts-4#post-20366</link>
<pubDate>Thu, 07 Apr 2011 09:06:32 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">20366@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Ok, maybe I just didn't understand what you were trying to do. Glad that you found a solution anyway. :)
&#60;/p&#62;</description>
</item>
<item>
<title>alexenergy on "Classes to highlight menu for posts"</title>
<link>http://themeshaper.com/forums/topic/classes-to-highlight-menu-for-posts-4#post-20353</link>
<pubDate>Wed, 06 Apr 2011 22:09:01 +0000</pubDate>
<dc:creator>alexenergy</dc:creator>
<guid isPermaLink="false">20353@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Middlesister, I tried before .sf-menu .current-cat, but it did not work neither for the following posts, only works for the first.&#60;/p&#62;
&#60;p&#62;Finally I solved the problem by using categories in the menu and redirect them to the first post of its category. &#60;/p&#62;
&#60;p&#62;I used the plugin Category Redirect to Post/Page.
&#60;/p&#62;</description>
</item>
<item>
<title>alexenergy on "Classes to highlight menu for posts"</title>
<link>http://themeshaper.com/forums/topic/classes-to-highlight-menu-for-posts-4#post-20259</link>
<pubDate>Sun, 03 Apr 2011 20:54:10 +0000</pubDate>
<dc:creator>alexenergy</dc:creator>
<guid isPermaLink="false">20259@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;&#60;a href=&#34;http://themeshaper.com/forums/topic/how-to-make-category-pages-show-the-content-of-the-last-post&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/how-to-make-category-pages-show-the-content-of-the-last-post&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>alexenergy on "Classes to highlight menu for posts"</title>
<link>http://themeshaper.com/forums/topic/classes-to-highlight-menu-for-posts-4#post-20247</link>
<pubDate>Sun, 03 Apr 2011 11:45:58 +0000</pubDate>
<dc:creator>alexenergy</dc:creator>
<guid isPermaLink="false">20247@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I working to solve the problem by redirecting the category page to a single post
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Classes to highlight menu for posts"</title>
<link>http://themeshaper.com/forums/topic/classes-to-highlight-menu-for-posts-4#post-20185</link>
<pubDate>Thu, 31 Mar 2011 18:14:06 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">20185@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;What kind of menus are you using?&#60;br /&#62;
You get different set of classes depending on whether you use the new menu system in WP 3.0 or use some of the other wordpress functions to generate it.&#60;/p&#62;
&#60;p&#62;Based on your first post I would suggest&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.sf-menu .current-cat a,
.sf-menu .current-custom-item a,
.sf-menu .current-menu-item a,
.sf-menu .current-post-ancestor a,
.sf-menu .current_page_item a,
.sf-menu .current_page_ancestor a,
.sf-menu .current_page_parent a {
    color:#fff;
    background: url(&#38;quot;images/hover.gif&#38;quot;) top left no-repeat;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;But I see &#60;code&#62;.current-menu-item&#60;/code&#62; as one of the selectors. This is a class that gets generated by the menu system in WP 3.0. The parents in the hierarchy gets &#60;code&#62;.current-menu-parent&#60;/code&#62; and &#60;code&#62;.current-menu-ancestor&#60;/code&#62;, respectively. If you are using the menus in WP 3.0 then the css would be&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.sf-menu .current-custom-item a,
.sf-menu .current-menu-item a,
.sf-menu .current-menu-parent a,
.sf-menu .current-menu-ancestor a,
.sf-menu .current-post-ancestor a,
.sf-menu .current_page_item a,
.sf-menu .current_page_ancestor a,
.sf-menu .current_page_parent a {
    color:#fff;
    background: url(&#38;quot;images/hover.gif&#38;quot;) top left no-repeat;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>alexenergy on "Classes to highlight menu for posts"</title>
<link>http://themeshaper.com/forums/topic/classes-to-highlight-menu-for-posts-4#post-20145</link>
<pubDate>Wed, 30 Mar 2011 15:20:34 +0000</pubDate>
<dc:creator>alexenergy</dc:creator>
<guid isPermaLink="false">20145@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Currently, I am using this CSS, but only works for post of the category&#60;/p&#62;
&#60;p&#62;.sf-menu .current-custom-item a,&#60;br /&#62;
.sf-menu .current-menu-item a,&#60;br /&#62;
.sf-menu .current-post-ancestor a,&#60;br /&#62;
.sf-menu .current_page_item a,&#60;br /&#62;
.sf-menu .current_page_ancestor a,&#60;br /&#62;
.sf-menu .current_page_parent a {&#60;br /&#62;
    color:#fff;&#60;br /&#62;
   	background: url(&#34;images/hover.gif&#34;) top left no-repeat;&#60;br /&#62;
}
&#60;/p&#62;</description>
</item>
<item>
<title>alexenergy on "Classes to highlight menu for posts"</title>
<link>http://themeshaper.com/forums/topic/classes-to-highlight-menu-for-posts-4#post-20144</link>
<pubDate>Wed, 30 Mar 2011 15:19:24 +0000</pubDate>
<dc:creator>alexenergy</dc:creator>
<guid isPermaLink="false">20144@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;My menus are related to posts with the same category and uses this to highlight the menus:&#60;/p&#62;
&#60;p&#62;My CSS works until I click the navigation footer to see the next post for the same category, then I lost the hover highlight on the menu. I could not find an explanation.&#60;/p&#62;
&#60;p&#62;I found that there are more class to highlight menus:&#60;br /&#62;
(cat-item&#60;br /&#62;
current-cat&#60;br /&#62;
current-cat-item)&#60;/p&#62;
&#60;p&#62;How can I activate the classes above for sf-menu?
&#60;/p&#62;</description>
</item>
<item>
<title>wprunner on "Security Threat added by Thematic to author"</title>
<link>http://themeshaper.com/forums/topic/security-threat-added-by-thematic-to-author#post-18065</link>
<pubDate>Mon, 03 Jan 2011 02:03:53 +0000</pubDate>
<dc:creator>wprunner</dc:creator>
<guid isPermaLink="false">18065@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;When an Author/Admin comments on a post, Thematic puts the author username in the class of the comment.&#60;/p&#62;
&#60;p&#62;For example, if the user is &#34;admin&#34; , a class is added to his comment as &#34;comment-author-admin&#34;.&#60;/p&#62;
&#60;p&#62;Many users change the name of the WordPress Admin user name from the default to something that is not easy for others to guess or crack. This adds a layer of security. Unfortunately, Thematic reveals this username in comments classes. So for example, if someone changed it to &#34;secretadmin&#34; the class will show as comment-author-secretadmin.&#60;/p&#62;
&#60;p&#62;I didn't see this in the class TwentyTen theme, only with Thematic.&#60;/p&#62;
&#60;p&#62;Please fix this security problem.&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>antesark on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16830</link>
<pubDate>Mon, 08 Nov 2010 18:09:41 +0000</pubDate>
<dc:creator>antesark</dc:creator>
<guid isPermaLink="false">16830@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hehe.. :) Gah, that was simpple, should have figured that out by myself, tried quite a few things, but ofc did not try to remove the add_action.&#60;/p&#62;
&#60;p&#62;Thanks again. Keep up the good work!
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16828</link>
<pubDate>Mon, 08 Nov 2010 17:34:38 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">16828@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Aarrgh ..&#60;/p&#62;
&#60;p&#62;Ante, I hereby declare that you are officially allowed to use the hashtag #blamethematic4you in all your tweets talking about bugs in Thematic ;)&#60;/p&#62;
&#60;p&#62;Remove the add_action() part. Normally all childtheme_override_ actions should be hooked automatically to the proper action hooks. Unfortunately I had a couple of add_action() calls inside of the if-clause. This was fixed in the latest SVN copies. &#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>antesark on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16823</link>
<pubDate>Mon, 08 Nov 2010 11:48:07 +0000</pubDate>
<dc:creator>antesark</dc:creator>
<guid isPermaLink="false">16823@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thank you Chris, it worked like a charm. Tho I run into some problems with childtheme_override-functions. Content seemed to be printed twice.&#60;/p&#62;
&#60;p&#62;Tex:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
function childtheme_override_siteinfoclose() { ?&#38;gt;&#60;br /&#62;
        &#38;lt;span class=&#34;float-right&#34;&#38;gt;This page took &#38;lt;?php echo timer_stop(); ?&#38;gt; seconds to load&#38;lt;/span&#38;gt;&#60;br /&#62;
        &#38;lt;/div&#38;gt;&#38;lt;!-- #siteinfo --&#38;gt;&#60;br /&#62;
&#38;lt;?php }&#60;br /&#62;
add_action('thematic_footer', 'childtheme_override_siteinfoclose', 40);&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;You can check this out at &#60;a href=&#34;http://109.74.195.148/testsite/&#34; rel=&#34;nofollow&#34;&#62;http://109.74.195.148/testsite/&#60;/a&#62; .. located at the footer obviously. Had the same problem with childtheme_override_brandingopen/brandingclose. The header img got printed out twice, but fixed it with not using override-function at all.
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16798</link>
<pubDate>Sat, 06 Nov 2010 13:45:52 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">16798@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Ante,&#60;/p&#62;
&#60;p&#62;grab the current SVN copy. I integrated the new filter &#60;code&#62;thematic_open_id_content&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;The following code will add your class to #content:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function add_my_class() {
	return &#38;#39;&#38;lt;div id=&#38;quot;content&#38;quot; class=&#38;quot;my_class&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;;
}
add_filter( &#38;#39;thematic_open_id_content&#38;#39;, &#38;#39;add_my_class&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Best,&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>antesark on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16760</link>
<pubDate>Sat, 06 Nov 2010 00:08:57 +0000</pubDate>
<dc:creator>antesark</dc:creator>
<guid isPermaLink="false">16760@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thank you Chris for your answer. That would be perfect!&#60;/p&#62;
&#60;p&#62;Actually I need to add the class-tag to the div id &#34;content&#34;, not to container, but ofc I can modify it as I like if you just open the whole container div so it can be modified (and everything inside it).&#60;/p&#62;
&#60;p&#62;Bottom point, I just need to add class=&#34;eqh&#34; to div content.&#60;/p&#62;
&#60;p&#62;And if your interested, the reason I need this class is so I can apply thematics equal height javascript to fix sidebar/content overflow (got sidebar on position: absolute).&#60;/p&#62;
&#60;p&#62;The site I'm working on is located at &#60;a href=&#34;http://109.74.195.148/testsite/&#34; rel=&#34;nofollow&#34;&#62;http://109.74.195.148/testsite/&#60;/a&#62; ..&#60;/p&#62;
&#60;p&#62;With best regards, Ante
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16755</link>
<pubDate>Fri, 05 Nov 2010 21:37:11 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">16755@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I could create a filter for this. Something like &#60;code&#62;thematic_open_container_id&#60;/code&#62;. This could be filtered using:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function add_container_class($markup) {
    return &#38;#39;&#38;lt;div id=&#38;quot;container&#38;quot; class=&#38;quot;my_class&#38;quot;;
}
add_filter( &#38;#39;thematic_open_container_id&#38;#39;, &#38;#39;add_container_class&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;With additional if-clauses you could define different classes for index, single, page, and so on.&#60;/p&#62;
&#60;p&#62;Let me know if this would solve your problem.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>antesark on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16740</link>
<pubDate>Fri, 05 Nov 2010 13:28:08 +0000</pubDate>
<dc:creator>antesark</dc:creator>
<guid isPermaLink="false">16740@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Up..
&#60;/p&#62;</description>
</item>
<item>
<title>antesark on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16704</link>
<pubDate>Wed, 03 Nov 2010 11:37:38 +0000</pubDate>
<dc:creator>antesark</dc:creator>
<guid isPermaLink="false">16704@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;How can I add class=&#34;my_class&#34; tag to &#38;lt;div id=&#34;content&#34;&#38;gt; without modifying the base thematic theme files (page.php, archives.php etc)?
&#60;/p&#62;</description>
</item>
<item>
<title>mogito2000 on "Add dynamic id to div within the loop"</title>
<link>http://themeshaper.com/forums/topic/add-dynamic-id-to-div-within-the-loop#post-15419</link>
<pubDate>Tue, 07 Sep 2010 09:10:29 +0000</pubDate>
<dc:creator>mogito2000</dc:creator>
<guid isPermaLink="false">15419@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Appologies, this was actually fairly simple and is not that relevant to thematic.&#60;/p&#62;
&#60;p&#62;To solve use: &#60;code&#62;&#38;lt;div id=&#38;quot;post-&#38;lt;?php the_ID(); ?&#38;gt;&#38;quot; &#38;lt;?php post_class(); ?&#38;gt;&#38;gt;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>mogito2000 on "Add dynamic id to div within the loop"</title>
<link>http://themeshaper.com/forums/topic/add-dynamic-id-to-div-within-the-loop#post-15398</link>
<pubDate>Mon, 06 Sep 2010 11:51:18 +0000</pubDate>
<dc:creator>mogito2000</dc:creator>
<guid isPermaLink="false">15398@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hello again,&#60;/p&#62;
&#60;p&#62;How would i go about adding a unique id or class to a repeating div within the loop?&#60;/p&#62;
&#60;p&#62;.....Any ideas?&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;Mogito
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Adding a class=".." to blog-title"</title>
<link>http://themeshaper.com/forums/topic/adding-a-class-to-blog-title#post-15143</link>
<pubDate>Fri, 27 Aug 2010 14:54:57 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">15143@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i am not familiar w/ that particular child theme, but there was either 1. another instance of &#60;/p&#62;
&#60;p&#62;add_action('thematic_header','somebodys_blogtitle',3);  that would need to be removed &#60;/p&#62;
&#60;p&#62;or 2. you are using thematic 0.9.6.2 and so the override logic doesn't apply.  &#60;/p&#62;
&#60;p&#62;but either way you were sort of using a 2x4 to swat a fly... glad the css solved the problem.
&#60;/p&#62;</description>
</item>
<item>
<title>mrsmarshah on "Adding a class=".." to blog-title"</title>
<link>http://themeshaper.com/forums/topic/adding-a-class-to-blog-title#post-15141</link>
<pubDate>Fri, 27 Aug 2010 14:24:19 +0000</pubDate>
<dc:creator>mrsmarshah</dc:creator>
<guid isPermaLink="false">15141@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thank you Helga! I had no idea it was that simple. I just used CSS &#60;code&#62;#blog-title span&#60;/code&#62; and coded it that way. (I was trying to use the &#60;code&#62;@font-face&#60;/code&#62; code.) This worked just fine.&#60;/p&#62;
&#60;p&#62;I am using the Thematic Feature Site Child Theme, when I put the code you gave me in my functions file it duplicated my blog title.&#60;/p&#62;
&#60;p&#62;Anyhow, the problem is resolved. Thank you so very much!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Adding a class=".." to blog-title"</title>
<link>http://themeshaper.com/forums/topic/adding-a-class-to-blog-title#post-15139</link>
<pubDate>Fri, 27 Aug 2010 14:04:56 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">15139@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;you never edit the original files, that is the whole point of hooks and filters.  to do anything you usually need to identify which function is responsible for the thing you want to change or the location of hook you want to add a new function too.  In your case (the former) you want to edit the blog title so you need to find the function that creates it.  All the functions are in the thematic folder, under extensions.  thematic_blogtitle happens to be in the header-extensions.php file... along w/ everything that goes in the header part of a theme (title, description, menu, etc, etc).  &#60;/p&#62;
&#60;p&#62;you will need to override (if you are using the latest dev thematic 0.9.7.4) the existing function by dropping this into your functions.php&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_blogtitle() { ?&#38;gt;

&#38;lt;div id=&#38;quot;blog-title&#38;quot;&#38;gt;&#38;lt;span class=&#38;quot;Chunkfive&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php bloginfo(&#38;#39;url&#38;#39;) ?&#38;gt;/&#38;quot; title=&#38;quot;&#38;lt;?php bloginfo(&#38;#39;name&#38;#39;) ?&#38;gt;&#38;quot; rel=&#38;quot;home&#38;quot;&#38;gt;&#38;lt;?php bloginfo(&#38;#39;name&#38;#39;) ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/div&#38;gt;

&#38;lt;?php }

add_action(&#38;#39;thematic_header&#38;#39;,&#38;#39;childtheme_override_blogtitle&#38;#39;,3);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;however- if you look at the original code it already has a span in the blog title so idk why you really need to give it a specific class.  you can target it via css just with #blog-title span&#60;/p&#62;
&#60;p&#62;though your question about adding chunkfive as a span and then the end code (which doesnt mention chunkfive) don't jive.. this should help as you can modify the above function anyway you want.
&#60;/p&#62;</description>
</item>
<item>
<title>mrsmarshah on "Adding a class=".." to blog-title"</title>
<link>http://themeshaper.com/forums/topic/adding-a-class-to-blog-title#post-15137</link>
<pubDate>Fri, 27 Aug 2010 13:23:49 +0000</pubDate>
<dc:creator>mrsmarshah</dc:creator>
<guid isPermaLink="false">15137@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I know it should be obvious, but I can't seem to wrap my brain around this. I have read through all of the hooks and filter tutorials. I'm new at this, maybe it will just take a few trials until it clicks. I am trying to add &#60;code&#62;a class=&#34;Chunkfive&#34;&#60;/code&#62; to my blog-title without editing the original files.&#60;/p&#62;
&#60;p&#62;In the end I would like it to look like this: &#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;div id=&#34;blog-title&#34;&#38;gt;&#60;br /&#62;
&#38;lt;span&#38;gt;&#60;br /&#62;
&#60;a&#62;Delicious&#60;/a&#62;&#60;br /&#62;
&#38;lt;/span&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>izms on "Adding AddThis to Autofocus+"</title>
<link>http://themeshaper.com/forums/topic/adding-addthis-to-autofocus#post-14824</link>
<pubDate>Thu, 19 Aug 2010 01:08:19 +0000</pubDate>
<dc:creator>izms</dc:creator>
<guid isPermaLink="false">14824@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I am trying to put an AddThis bar underneath the title of a single post page using Autofocus+. Where do I find class=&#34;entry-title&#34;?&#60;br /&#62;
Also, when I use Google to search for my site it displays the menu items and other random stuff in the description, any suggestions on how to change this?&#60;/p&#62;
&#60;p&#62;Thank you very much!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
