I just wanted to alter the default output, but found that every style is defined inline, so no real opportunities to theme the user-activity via the theme's css file.
As I've read, this is only possible via theme-functions.
So I like to suggest that you make a module css file which defines the non-changing styles for user-activity-elements. (like background/heights/paddings/etc. for instance)
thx for reading :)
Comments
Comment #1
sanduhrsThere are four themeable functions defined for user_activity.
You may change the complete output as follows:
Copy the desired theme function from the module, eg:
to template.php file in your theme's directory (simply create the file, if it does not exist), and rename the function to:
or
you may then change the output to your likings, e.g.:
I don't like inline styles, too. But there's no way around it, as the width of the bar must be generated on the fly. And there's no clean way - I know of - to do this in external css files.
Anyway, I exluded all none vital styles into an external css file.
Hope that helps.
Commited to 5,6,HEAD.
Thanks.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.