CSS for news module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Mas

CSS for news module

Post 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.
infusion

Re: CSS for news module

Post by infusion »

bumb to top ^

Anyone knows?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: CSS for news module

Post 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.
mcschulz

Re: CSS for news module

Post 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?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: CSS for news module

Post 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.
mcschulz

Re: CSS for news module

Post by mcschulz »

ahhh, that's it. got to tell my users, that they shall not format their texts... thanks :-)
Locked

Return to “Modules/Add-Ons”