Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support css style sheet customisation
Alankeys
Posted on 08 Jun 2010, 12:54:27

Access: Member
Total Posts: 107
Joined: 2009-11-28



Chris

Would it be possible to add a couple of lines to http://code.google.com/p/n-13news/wiki/Integration about how to customise the style sheets.

These style sheet components are often called in the standard templates. I still havent found where the style <span class="title_{oneortwo}" is or how it can be customised.

Also, does the RSS feed call a style sheet ?

#2415
Chris
Posted on 08 Jun 2010, 16:12:21

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Added the {oneortwo} tag to the Templates wiki page, I forgot to update it before.

http://code.google.com/p/n-13news/wiki/Templates

See here also for an example of what it does - http://code.google.com/p/n-13news/issues/detail?id=71&can=1&colspec=ID%20Type%20Status%20Priority%20Owner%20Summary

RSS feeds do not use style sheets. It's raw xml data that gets read using a reader/browser, the reader determines how it gets displayed.
#2418
Last edited by Chris at 2010-06-08 16:17:45 Reason:
Rayc
Posted on 11 Jul 2010, 14:17:15

Access: Member
Total Posts: 74
Joined: 2010-06-13

Hi,

I'm afraid I don't understand the {oneortwo} tag. I see it being used in the default template, but it does not affect the output at all.

(As I write this the lights may be coming on... :idea:)

Would this be used to have an alternating format in the news list? Say to have every second listing shaded like so:

Alien Spacecraft Spotted In Low Orbit.
Aliens Land on Earth!!!
Aliens Leave After Discovering "No Intelligent Lifeforms".

Would I need to add CSS rules to the site CSS files for the classes to be used?
For example I would need to create:
class="news_one"
class="news_two"

And final question about the style.css file contained in the script: Is this used solely for the admin pages?

Thanks,
-RayC
#2676
Chris
Posted on 11 Jul 2010, 15:55:40

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Quote:
Would this be used to have an alternating format in the news list? Say to have every second listing shaded like so:

Alien Spacecraft Spotted In Low Orbit.
Aliens Land on Earth!!!
Aliens Leave After Discovering "No Intelligent Lifeforms".

Would I need to add CSS rules to the site CSS files for the classes to be used?
For example I would need to create:
class="news_one"
class="news_two"

Correct. It also works with comments, search results & files.

Quote:
And final question about the style.css file contained in the script: Is this used solely for the admin pages?

Is indeed.
#2678
Network-13.com © 2013