FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Forum names to use different style class?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Forum names to use different style class? [message #9271] Wed, 19 March 2003 18:44 Go to next message
Wild_Cat is currently offline  Wild_Cat   Ukraine
Messages: 144
Registered: November 2002
Location: Odessa, Ukraine
Karma: 0
Senior Member
Hello, you have a great forum that I absolutely wanted to have for my personal website after stufying the free forums market. Now I got to work and create a new theme for the forum and I ran into a thing that seems a bit strange for the design.

Don't you think that forum names could use different class than all other GenLinks, because while those look quite nice when using small font-sizes, the same font-size seems a bit too small for the forum name, while for the topics inside the forum it's more or less ok? Categories does have a separate style class for use, why not forum names?


Lady of Avalon
Re: Forum names to use different style class? [message #9305 is a reply to message #9271] Mon, 24 March 2003 14:30 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I kinda like the current fotn sized, BUT you can easily modify index.tmpl template and use a different style for forum names.

FUDforum Core Developer
Re: Forum names to use different style class? [message #9353 is a reply to message #9305] Mon, 24 March 2003 19:18 Go to previous messageGo to next message
Wild_Cat is currently offline  Wild_Cat   Ukraine
Messages: 144
Registered: November 2002
Location: Odessa, Ukraine
Karma: 0
Senior Member
OK, that's great, I found where I should change this, but this does mean I should use one of existing style classes? Because otherwise the forum.css is rewrited each time on compiling and even one of supposed classes (UserControlPanel) is not included in this (as I reported in bugs forum and this class isn't present till now even in your own forum.css file here), so should I rewrite the forum.css manually if I want to include another class or could I add it into forum.css.tmpl and if yes, how to do in sort that it gets included in the compiled forum.css as well as supposed UserControlPanel? I'm kinda new to PHP and cannot yet understand how those sections are added to the final forum.css file.

I understand that probably this would move that theme rather to how-to forum, but can I indeed add a new class into templates so that on rebuild it gets automatically included into forum.css and I don't have to add it there manually after each rebuild?


Lady of Avalon
Re: Forum names to use different style class? [message #9355 is a reply to message #9353] Mon, 24 March 2003 19:52 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
forum.css is a generated file, you should be modifying the template, forum.css.tmpl

FUDforum Core Developer
Re: Forum names to use different style class? [message #9362 is a reply to message #9355] Mon, 24 March 2003 20:55 Go to previous messageGo to next message
Wild_Cat is currently offline  Wild_Cat   Ukraine
Messages: 144
Registered: November 2002
Location: Odessa, Ukraine
Karma: 0
Senior Member
But if I simply add let's say

{SECTION: forum_link style of forum links}
a.ForumLink {
font-family: "Comic Sans MS", cursive;
font-size: 14px;
font-weight: bold;
text-decoration: none;
}
{SECTION: END}

to the forum.css.tmpl

Will that be *enough* to add such a section (a.ForumLink) in the generated forum.css (so that I could use this class in the index.tmpl)? And if not, where else I should specify this section name to get it included in the compiled forum.css automatically. That is what I wanted to know.


Lady of Avalon
Re: Forum names to use different style class? [message #9363 is a reply to message #9362] Mon, 24 March 2003 22:13 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Almost, you also need to add
{TEMPLATE: forum_link}
to the FORUM_CSS template.


FUDforum Core Developer
Re: Forum names to use different style class? [message #9364 is a reply to message #9363] Mon, 24 March 2003 22:56 Go to previous message
Wild_Cat is currently offline  Wild_Cat   Ukraine
Messages: 144
Registered: November 2002
Location: Odessa, Ukraine
Karma: 0
Senior Member
Wow! Thanks! That's really great to be able to add my own class and to have such generous about explanation developers! You steal my heart Smile

Now I see why your user_control_panel style SECTION doesn't get included into forum.css too and can fix it for myself before your next release guessingly fixed 'bout that lil omission Very Happy


Lady of Avalon
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Profile interface suggestion
Next Topic: Question about future feature
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 17:31:54 GMT 2024

Total time taken to generate the page: 0.04203 seconds