Have an idea?

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

How can I format the summed price in ACBC screening section?

Hello!

Is there any way I could increase the font size or change the color of the summed price in ACBC screening section?

I appreciate any help that you can provide.
asked Feb 19, 2014 by anonymous
Use some css and you can change anything.
It would really help me if you would be a little more specific. I'm not very familiar with css language.
Seems simple and probably a better way but the only way I could figure out how was with JavaScript.

Assuming your price is in dollars, if you put this on the screening page it will center and bold the prices.  (note: theoretically you shouldn't need both of the string methods but for reasons I never quite figured out it was the only way I could get it to work in IE8 with different currency symbols.)

<script type="text/javascript">
$(function () {

    $('.level_text').each(function() {
        var sub = $(this).html();
        if (sub.slice(0,1) === '$' || sub.substr(1,1) === '$') {
            $(this).css('text-align', 'center').css('font-weight', 'bold');
        }
    });
});
</script>

Your answer

Please only use this to answer the original question. Otherwise please use comments.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

To avoid this verification in future, please log in or register.
...