1
ixion
Custom Theme Creation
  • 2005/4/3 17:53

  • ixion

  • Just popping in

  • Posts: 5

  • Since: 2005/4/3 1


I don't think I've followed proper procedure in creating a new theme, which is likely why I am having trouble. I've basically copied the phpkaox theme to a new theme name and modified the styleNN.css to the colors and style text I like.

So far it had been going good for the news and front page. But I can't figure out what needs to be modified for each of the other modules (forums, etc). They are still reflecting the phpkaox colors.

The thing that really has me baffled is the colors up near where 'logo.gif' is displayed. It's the greenish color where I would like it to be blue. I've changed all kinds of colors in the .css file but that color still has not changed. I edited the theme.html file with table background settings, but the source code is not changed when I refresh the page.

Is there a tutorial for properly modifying themes? I'm obviously doing things the wrong way. :(

2
Speed
Re: Custom Theme Creation
  • 2005/4/3 18:13

  • Speed

  • Quite a regular

  • Posts: 310

  • Since: 2004/5/18


Most (if not all?) themes have a style.css file. Some have styleNN.css and styleIE.css as well.

The style.css file is where most of your theme's css is located. The site logo, left/center/right columns, header, footer, and many more general css settings are here. Many of the standard modules use css settings from this file. The most common are odd, even, blockTitle, blockContent, etc.

The styleNN.css and styleIE.css files are for css changes that specifically affect Netscape and Internet Explorer respectively. These are exceptions. There are some known rendering issues with IE for example and some workarounds to make it render the same as NN (and vice versa). These files allow you to make those fine tuning changes.

Some modules also include css files. Their filenames can vary. This is especially true of modules that are ported from outside of XOOPS or that were developed as stand-alone programs before being brought into Xoops. Integrating this css into XOOPS can sometimes be challenging if the module redefines classes.

3
m0nty
Re: Custom Theme Creation
  • 2005/4/3 18:16

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


styleNN.css is for netscape type browsers? u should edit the style.css.. only thing that needs to be in the other css is changes in css for those particular browsers..

also in your theme.html

the paths for the theme are hardcoded into the them itself in the columns..

you'll see something like <{include file="phpkaox/theme_blockright.html"}>

make sure that path reflects your new theme name..


also when making changes to theme.html make sure to clear templates_c folder afterwards or your changes won't be seen..

4
ixion
Re: Custom Theme Creation
  • 2005/4/4 2:34

  • ixion

  • Just popping in

  • Posts: 5

  • Since: 2005/4/3 1


Ah, clearing out templates_c was what was needed. Thank you so much for your patience and advice! :)

Login

Who's Online

273 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 273


more...

Donat-O-Meter

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

Latest GitHub Commits