tag:blogger.com,1999:blog-2947991229172350839.post5045259604612771657..comments2010-11-20T14:57:52.574-08:00Comments on Tweak My Blogger: Different Templates (Blogger) AiresOFwarhttp://www.blogger.com/profile/05827246699246074636noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-2947991229172350839.post-62258502456120968832010-11-20T14:57:52.574-08:002010-11-20T14:57:52.574-08:00Yes, and that is very useful information, but the ... Yes, and that is very useful information, but the problem I ran into with my gadget was that it gets its skin from the variable definitions instead of the CSS section in the header (like the Followers gadget, my gadget is positioned inside an iframe). <br /><br />CSS styling rules are very difficult to extract programmatically, so I believe the variable definitions are there as a shortcut that is cross-browser compatible. <br /><br />I should try out removing the body.font variable, though, and creating a strictly CSS blog to test it out, though.<br /><br />And that thing about T E D you wrote back on the help forum--ROFL! Aratina Cagehttp://www.blogger.com/profile/05191120796865740975noreply@blogger.comtag:blogger.com,1999:blog-2947991229172350839.post-1265966498938764332010-11-20T12:02:41.260-08:002010-11-20T12:02:41.260-08:00The variable definitions are simply HTML assigning... The variable definitions are simply HTML assigning a variable to CSS. Then in the CSS section you will see the variable declared with a $ sign. The Add CSS function can override then variables declared to change the font color of anything. <br /><b>Example:</b><br /><br />body {<br />font: normal normal 14px &#39;Trebuchet MS&#39;, Trebuchet, sans-serif;<br />color: #e1e1e1;<br />}<br /><br />If I added this code in above it would declare this to everything in my template. However because other font rules are present in my CSS. This would not override a rule that is specifically designated to a element. This would be the same thing as me going into the Edit HTML page and removing $(body.font) and replacing it with the code above. But with doing it through the Add CSS function I am not harming them template. So if later on I decide that I no long want to user this font, I can simply remove the added code. If I made this change directly into my Edit HTML page then I have removed the variable and the template designer will no longer function for this option. AiresOFwarhttp://www.blogger.com/profile/05827246699246074636noreply@blogger.comtag:blogger.com,1999:blog-2947991229172350839.post-35859042474527377942010-11-20T06:46:29.880-08:002010-11-20T06:46:29.880-08:00One thing about changing the font styling rules th... One thing about changing the font styling rules through the Template Designer&#39;s <b>Advanced|Add CSS</b> feature is that any changes you make to the font will not carry over to gadgets with skins (such gadgets get the font styling rules for the main post text sent over to them so they can fit in with a blog&#39;s theme automatically). <br /><br />However, changing the font weight (bold), font family, font size, and/or font style (italic) through the Template Designer&#39;s <b>Advanced|Page Text</b> customization feature will carry over to gadgets.<br /><br />The reason one way (modifying the Page Text font in Template Designer) works and the other (adding CSS in the Template Designer) doesn&#39;t is because changing the font through the Page Text advanced customization feature actually changes the <b>/* Variable definitions</b> for the variable &quot;body.font&quot; in a blog&#39;s template. <br /><br />So, unfortunately, it looks like if you want your Google Web Fonts to show up in gadgets with skins, you will still need to modify the &quot;body.font&quot; variable in the blog template directly.<br /><br />Of course, if a person&#39;s blog does not use gadgets with skins, then it doesn&#39;t matter. :) Aratina Cagehttp://www.blogger.com/profile/05191120796865740975noreply@blogger.com