Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Ministry Tools > Other TYPO3 Extensions > font size in extension
Total Posts: 8 - Pages (1): [1]
Author: David Bourgeois
Posted: Mar 10 2008 - 07:34 PM
Subject: font size in extension
We are using a couple of different RSS readers to show content from WordPress blogs on our site. We are not live yet. The problem is that the font size for the blog entries is way too big and not line with the rest of the site. I want to change the default size for the blog text in one place and have it change for the whole site. When I view source, I see that there is the code: so_rssimport_bodytext before the offending words. Where can I change this?

You can look at our site at http://www.diamondbarchurch.com. See the right sidebar.

Also - if you know - how do I get rid of "My Stories" as the header for the RSS? It won't go away!

Dave
Author: Jeff Segars
Posted: Mar 11 2008 - 09:57 AM
Subject: re: font size in extension
Dave,
I haven't used the so_rssimport extension before, but from a quick look at your site, it appears that this would be a CSS change within your main CSS template. Probably something along the lines of...

CODE:

.so_rssimport_bodytext {
  font-size: 80%;
}


Hope that helps!
Jeff
Author: David Bourgeois
Posted: Mar 11 2008 - 01:21 PM
Subject: re: font size in extension
OK - I followed the directions in the "Adding custom CSS for an extension" (http://webempoweredchurch.com/support/howtos/single/adding_custom_css_for_an_extension/?tx_wecknowledgebase_pi1%5Bswords%5D=css&tx_wecknowledgebase_pi1%5BbackPid%5D=440&cHash=729c77bcd and I am pretty sure all is well, but no change in the font size. I even cleared all caches. It all makes sense except the part about "page.headerData.20". Should I be using this? How do I tell Typo3 to look to my new custom CSS file that I uploaded? Here is the code I inserted into the main template, based upon what I read (and saw via flash) in the How-To:

# RSS reader fix
plugin.so_rssimport._CSS_DEFAULT_STYLE >
page.headerData.20 = TEXT
page.headerData.20.value = <link rel="stylesheet" type="text/css"href="fileadmin/ext-templates/rssimport.css" />

Dave
Author: David Bourgeois
Posted: Mar 11 2008 - 01:22 PM
Subject: re: font size in extension
OK - I followed the directions in the "Adding custom CSS for an extension" and I am pretty sure all is well, but no change in the font size. I even cleared all caches. It all makes sense except the part about "page.headerData.20". Should I be using this? How do I tell Typo3 to look to my new custom CSS file that I uploaded? Here is the code I inserted into the main template, based upon what I read (and saw via flash) in the How-To:

# RSS reader fix
plugin.so_rssimport._CSS_DEFAULT_STYLE >
page.headerData.20 = TEXT
page.headerData.20.value = <link rel="stylesheet" type="text/css"href="fileadmin/ext-templates/rssimport.css" />

Dave
Author: David Bourgeois
Posted: Mar 11 2008 - 05:37 PM
Subject: UPDATE: font size in extension
OK, further research shows that the new CSS file IS being used (view source on home page shows the include). So the problem is that the CSS is bad.


...Further research showed that the CSS I used had the wrong object names in it. This is most likely due to the fact that the RSS reader we are using is still in Alpha and the author probably had not gotten around to updating the setup.txt file to show the correct object names. I cleaned up the object names and cleared out everything I did not want changed in the CSS and...it worked.


Dave
Author: Jeff Segars
Posted: Mar 11 2008 - 06:01 PM
Subject: re: font size in extension
Hey Dave,
Glad to hear you tracked it down. I was just digging into the issue when I saw your post here. Out of curiosity, what did you change to get the feed title showing up like you want?

Thanks,
Jeff
Author: David Bourgeois
Posted: Mar 11 2008 - 07:25 PM
Subject: UPDATE: font size in extension
OK, further research shows that the new CSS file IS being used (view source on home page shows the include). So the problem is that the CSS is bad.


...Further research showed that the CSS I used had the wrong object names in it. This is most likely due to the fact that the RSS reader we are using is still in Alpha and the author probably had not gotten around to updating the setup.txt file to show the correct object names. I cleaned up the object names and cleared out everything I did not want changed in the CSS and...it worked.


Dave
Author: David Bourgeois
Posted: Mar 11 2008 - 07:27 PM
Subject: re: re: font size in extension
Actually, I did not solve the feed title problem via CSS. I was able to turn it off via the plug-in options and now the title it shows is the title of the RSS feed (a WordPress blog). I am now working on fine-tuning the CSS to get the fonts to look the way I want.

Dave
Total Posts: 8 - Pages (1): [1]
You must login to post a message to this conference.