In the donations_thermometer.css file I removed the height: 50%; from the following class:

.donations_thermometer .gauge .current-value {
	position:absolute;
	left: 0px;
	bottom: 0px;
	height: 50%;
	text-align:center;
	width: 100%;
	background: red url(gauge.gif) bottom right no-repeat;
}

to make it

.donations_thermometer .gauge .current-value {
	position:absolute;
	left: 0px;
	bottom: 0px;
	text-align:center;
	width: 100%;
	background: red url(gauge.gif) bottom right no-repeat;
}

Thermometer now corectly displays amount

Comments

Mark_Watson27’s picture

Status: Needs review » Closed (duplicate)
dboulet’s picture

Status: Closed (duplicate) » Needs review
StatusFileSize
new561 bytes

This still needs to be fixed. I'm guessing that the 50% height was put in there as a fallback, but it seems rather arbitrary and doesn't make much sense to me.

dboulet’s picture

Status: Needs review » Closed (duplicate)

Duplicate instead of #420442: The image doesn't change.

zc881373’s picture

Any update for this issue. The module works great with just this one hitch. I would like to use it to keep visitors updated on a fundraising goal. I will be entering the updated values manually but would like the image of the thermometer to correspond accordingly rather than stay at ~50%.

Any help with this?

sejtraav’s picture

Code updated according to #420442: The image doesn't change.