Have an idea?

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

Formatting tooltips

I'm using the built-in tooltip function for my attribute labels and level labels.  I want the attribute labels to be bold, and the level labels to be normal weight.  I can unbold the level labels by placing the following in the ACBC Screener footer....

.tool_tip_link
{
font-weight: normal;
}

and then try bolding the attribute labels by setting Attribute Labels Display to Bold in the Question Settings.  But the attribute labels will not bold due to the styling above.  I thought about using the "title" property instead of tooltip, but I need some basic html within my tool tip text, which I don't think can be done using the "title" property.

So, my dilemma is I haven't been able to bold the attribute labels while keeping level labels unbolded when both the attribute and level labels are tool tip links.

Any advice appreciated.
asked Nov 15 by Lucian

1 Answer

0 votes
If we expand the CSS selector, we should be able to make it apply to levels but not to attributes.  Please try using this modified CSS instead:

<style>
.level_text .tool_tip_link {
    font-weight: normal;
}
</style>
answered Nov 15 by Zachary Platinum Sawtooth Software, Inc. (129,350 points)
Bingo.  That works great.  Thank you!
...