Page 1 of 1

css button image is not visible

Posted: Tue Nov 24, 2015 9:12 am
by chs
Hi everyone,

We would like to use a css button with a background image (our settings: field type = css button, theme = D - Light Gray,
background image = url('/profoundui/....image.png), small button = true, background position = center)

Unfortunately, the image is behind the button surface and not visible resp. only the egdes of the image are visible.

How can we change the setting of the button surface to transparent resp. bring the button image to front?

Thank you for your answer in advance.

Christoph

Re: css button image is not visible

Posted: Tue Nov 24, 2015 11:31 am
by Scott Klement
I'm not certain how to make a 'css button' use a background image. It seems to me that if you assign a background image to a css button, you must either make it so you cannot see the button (because image is in front) or that you cannot see the image (because button is in front). So this would not work, would it?

An image widget can be used the same as a button. (It has a 'response', and 'onclick' just as a button does.) Can you use that for your purposes?

Re: css button image is not visible

Posted: Mon Nov 30, 2015 9:01 am
by chs
Thank you for your answer.

Yes we are using an image widget as a button now.