1
explorer1979
How to add CSS coding on "News" 1.63 Module?

Hi all,

I am install XOOPS 2.3.3b and News 1.63

Now using the "Compact" Mode to force it can let me input HTML coding..

For simple coding... it look like working...

But then I try this CSS...

<style type="text/css">
<!--
.
style1 {
    
color#CC0033;
    
font-weightbold;
}
-->
</
style>

<
p>This is CSS Testing!!!!</p>
<
p>WoW <span class="style1">WoW </span></p>




It just display nothing, just the text, mean that the CSS is not working... and the text color is black not is the color that setting in CSS...

How to add FCKEditor or something like that and plus let it support CSS, php, Javascript etc coding as content?

Thank you.

2
ghia
Re: How to add CSS coding on "News" 1.63 Module?
  • 2009/10/15 10:20

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


See this to activate WYSIWYG editors. They all have functions to add classes to HTML objects and a raw HTML mode where tags and attributes can be added or modified.

You may have all your CSS instructions in the theme CSS file and not in a specific News article. This will benefit reuse and a consistent look in the site.

3
Quest
Re: How to add CSS coding on "News" 1.63 Module?
  • 2009/10/15 10:26

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


I may be wrong but it looks like you have your style commented out with the <!-- and -->

Edited: Nope that didn't work.

Login

Who's Online

220 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 220


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits