Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

How do I center the summed pricing in ACBC?

asked Jan 9, 2017 by anonymous

1 Answer

0 votes
This CSS will center the summed price in ACBC Screeners and ACBC Choice Tasks:

<style>
.acbc_screener .inner_table > tbody > tr:nth-child(4) .level_text,
.acbc_choicetask .inner_table > tbody > tr:nth-child(4) .level_text {
    text-align: center;
}
</style>


Both "4" need to be replaced with the row number that contains the summed price.
answered Jan 9, 2017 by Zachary Platinum Sawtooth Software, Inc. (209,175 points)
Works perfectly! Thanks!
Hi Zachary - I have merged rows and non-displayed items meaning that my row number for price changes, any idea how I can make that dynamic please?
never mind I sorted it!

.acbc_screener .inner_table > tbody > tr:nth-last-child(2) .level_text,
.acbc_choicetask .inner_table > tbody > tr:nth-last-child(2) .level_text {
    text-align: center;

  }
...