![]() |
Habari Xenu - Customizing the Display of Headlines |
You now have greater control over how headlines are displayed in the right hand side through custom Cascading Style Sheets (CSS). You can now customize the display of headlines and summaries to your needs. Some people prefer using better or different fonts; some prefer different colors; some like seeing two columns of headlines.
How to start using custom CSS?
To start using custom CSS, you must do the following:
Display Headlines in Two Columns
Add the following to userContent.css:
Increase the size of the 'Posted' credit linediv.hx-item{ width:45% !important; float: left !important; }
Changing the font of an entire news item (headline + summary)div.hx-credit{ font-size: 8pt !important; }
div.hx-item{ font-family: verdana; }
Some background into document classes used in Habari Xenu
There are several document classes in the headlines displayed by Habari Xenu.
You can style one or more of these classes to have maximum control over how
headlines and summaries are displayed. Remember that you must mark any
custom styles you add as '!important'.
The display frame is divided into the following classes:
class=hx-headerNYT > Internationalclass=hx-header-title class=hx-details
Find breaking news, world news, multimedia & opinion on the US, Africa, Canada, Mexico, South & Central Americas, Asia, Europe, the Middle East and Iraq.
Details:
Feed URL: http://www.nytimes.com/services/xml/rss/nyt/International.xml
Feed Type: RSS
Feed Published At:Sat, 20 Nov 2004 22:00:01 EST
Feed Parsed Copy: /home/thaths/.mozilla/default/h3vuta92.slt/chrome/habarixenucache/83fb5ec097f5e17dcb92631dce4d3948.html
Details:class=hx-item
Feed URL: http://www.nytimes.com/services/xml/rss/nyt/International.xml
Feed Type: RSS
Feed Published At:Sat, 20 Nov 2004 22:00:01 EST
Feed Parsed Copy: /home/thaths/.mozilla/default/h3vuta92.slt/chrome/habarixenucache/83fb5ec097f5e17dcb92631dce4d3948.html
Are You Kidding Me?class=hx-headline class=hx-summary
BERLIN (Reuters) - Thieves have stolen scantily clad garden gnomes from a gnome peepshow in an eastern German amusement park, park manager Frank Ullrich said on Thursday.
Posted at Fri, 19 Nov 2004 14:19:41 GMTclass=hx-creditBERLIN (Reuters) - Thieves have stolen scantily clad garden gnomes from a gnome peepshow in an eastern German amusement park, park manager Frank Ullrich said on Thursday.Posted at Fri, 19 Nov 2004 14:19:41 GMT