Thank you for the tpl file but to have it easier to style out of the box could you remove the inline styles with the hard-coded ID #selectors and just use some base classes that can be overwritten in the theme?

Referring to this:

<style type="text/css">
  #pcp-wrapper-<?php print $entity_type . '-' . $bundle; ?> .pcp-percent-bar-wrapper {width: 100%; border: 1px solid #000; padding: 1px;}
  #pcp-wrapper-<?php print $entity_type . '-' . $bundle; ?> .pcp-percent-bar { width: <?php print $current_percent; ?>%; height: 10px; background-color: #777;}
</style>

Comments

joelpittet’s picture

I guess the width has to be there but everything else would be better served in a css file that can be cached and overwritten.

BarisW’s picture

Status: Active » Fixed

Thanks for your suggestion. I've fixed it in the dev version.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.