Page 1 of 1

CSS for news module

Posted: Wed Aug 03, 2005 4:55 pm
by Mas
Hi Everyone,

Ok I'm an ultra noob and am trying to figure out why the stylesheet elements don't appear under the WYSIWYG editor for the news module. I've attached stylesheet to my template and all but I just can't see the styles when i'm trying to write a news article. Any help is greatly appreciated. Thanks in advance.

Re: CSS for news module

Posted: Sat Aug 06, 2005 10:23 pm
by infusion
bumb to top ^

Anyone knows?

Re: CSS for news module

Posted: Sun Aug 07, 2005 12:55 pm
by Ted
The template that it used in the in the News module admin under Summary Template.  You should get an idea of what ids, classes are used from that and style accordingly.

Re: CSS for news module

Posted: Tue Aug 09, 2005 8:43 am
by mcschulz
i'm wondering why the css-styles set in the general template is overwritten within the news articles and summaries by old fashioned tags, even though there are no such tags set neither in the summary nor in the article template.

the sourcecode looks like this:

Code: Select all

<p>

<h4 id="NewsPostDetailTitle">„Erbenheim & Friends“ – offenes Mixedturnier am 23. Juli 2005</h4>
Datum: Jul 24, 2005<br />



<p class="MsoNormal" style="margin-top: 12pt">
<span style="font-size: 9pt; font-family: arial">
<font size="2">
<font face="tahoma,arial,helvetica,sans-serif">
Am Samstag, dem 23. Juli 2005 fand auf den Erbenheimer „Courts“ seit langem mal wieder ein Doppel-Mixed-Turnier statt, welches auch für Freunde, Gäste oder Neulinge offen war. 
</font></font></span></p>
<p class="MsoNormal" style="margin-top: 12pt">
<span style="font-size: 9pt; font-family: arial">
<font size="2">
<font face="tahoma,arial,helvetica,sans-serif">
Einen ausführlichen Bericht findet ihr unter 
</font>
<a href="Clubleben.shtml" target="_self"><font face="tahoma,arial,helvetica,sans-serif">Clubleben</font></a>
<font face="tahoma,arial,helvetica,sans-serif"> und die Bilder in der 
</font>
<a href="Bilder_tvetennis.shtml" target="_self"><font face="tahoma,arial,helvetica,sans-serif">Galerie</font></a>
<font face="tahoma,arial,helvetica,sans-serif"> 
<em>FL</em>
</font></font></span></p>


</p>
where's this code coming from?

Re: CSS for news module

Posted: Tue Aug 09, 2005 9:59 am
by Ted
Changes are that the WYSIWYG in the News module saved them right into the New article.  Turn off the WYSIWYG in User Prefs, edit an article, and see what comes up.

Re: CSS for news module

Posted: Tue Aug 09, 2005 7:36 pm
by mcschulz
ahhh, that's it. got to tell my users, that they shall not format their texts... thanks :-)