TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: misjka on October 22, 2008, 08:09:00 PM

Title: [bugtracker] Stylesheet classes for download section "articles"
Post by: misjka on October 22, 2008, 08:09:00 PM
This is rather a feature request than a bug report:

I would like the "articles" in the tp download section to look much alike other articles on my site. Now, I 'm speaking about stylesheets. Because, the text size in the dl section is far too small and I wonder why not the same stylesheet classes may be applied on these articles as ordinary articles?

Or, to put it in other words: What class(es) may I add to the stylesheet to manipulate the text size of the dl articles? My focus is on the text body of an article, not the meta information text about the articles (size of dl file, number of views etc).

Thanks,
Title: Re: [bugtracker] Stylesheet classes for download section
Post by: IchBin on October 22, 2008, 08:51:01 PM
Since when does the download manager have articles? I don't quite get what your'e asking... The best thing I can suggest if you are looking to figure out what classes in the style sheet are associated with any of the TP and SMF pages is to use the firebug tool add-on for Firefox. You can use it to highlight any element on a page, and it will show you what CSS is associated with it.
Title: Re: [bugtracker] Stylesheet classes for download section \
Post by: misjka on October 23, 2008, 03:22:50 PM
Well, to every download item one creates one may add some text about the item... Not only a simple header and a download button... That is, an "article".

Ah, thanks for the Firefox tool - shall look it up at once  :up:!
Title: Re: [bugtracker] Stylesheet classes for download section \
Post by: misjka on October 23, 2008, 04:18:52 PM
Hmm... Closest to the textbody I find...

1) When inspecting ordinary TP articles I find a div class called tp_articletext, which is not defined in the stylesheet for the Theme.

2) When inspecting download "articles" I find a paragraph class called post, which is present in the stylesheet as a "standard" SMF style. That class is found under a div class called smalltext, which really explains it all since the text body of a dl "article" is as small as the meta info about the dowload item (size, numer of views etc)...

So, I guess what I'm technically am asking for, as a feature request , is a separate class for the textbody of dl "articles" - or maybe to use the ordniray TP article class instead....