Jump to content


Photo

Content CSS Consistency?


I'm not certain if this is just an oversight, or intended but...

In Board, there is the post_body CSS class for changing how the body of posts looks... and entry_content on Blog for blog entries. Nexus has a post_body for tickets, etc.

But... Downloads doesn't appear to have a similar class for the content of a download? On this page: http://community.inv...for-ipboard-32/

The only classes being applied to the content (file description) are the utility classes ipsType_textblock and ipsPad... no content specific class like the rest of the applications.

Seems a bit inconsistent? If skin authors / forum admins only want to change how posted content appears, without having to add additional classes or affect the board as a whole, they can't do so in the IDM unless they add an additional ipsType_textblock class to the ipdownloads.css file. Other applications, they can, so it's kind of a consistency issue more than anything.

Status: Fixed
Version: 2.5.0
Fixed In: 2.5.1


3 Comments

This is definitely a problem for me as I am using IP.Downloads to display articles where the font-size and line-height need to match what's in forum posts and blog entries or everything becomes a jumbled up mess.

Thanks to and Ryan Ashbrook for helping me get things squared away (literally).
Looks like I can't edit in the Tracker. I meant to say thanks to Jason H and Ryan Ashbrook. :smile:
I have added the class "description_content", which you can use to style the description specially (it is not defined by default in our CSS files however). We cannot use the post_body classes due to their special styling that we don't want to apply in IP.Downloads, however you could mirror the CSS definitions from post_body to a new description_content class if you want to.