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
css button image is not visible
-
- Profound User
- Posts: 53
- Joined: Tue Jan 27, 2015 8:13 am
- First Name: Christoph
- Last Name: Seitz
- Company Name: Waser + Co. AG
- Phone: +41 44 94 74 341
- Address 1: Erlenwiesenstrasse 2
- City: Volketswil
- State / Province: Outside Canada/USA
- Zip / Postal Code: 8604
- Country: Switzerland
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: css button image is not visible
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?
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?
-
- Profound User
- Posts: 53
- Joined: Tue Jan 27, 2015 8:13 am
- First Name: Christoph
- Last Name: Seitz
- Company Name: Waser + Co. AG
- Phone: +41 44 94 74 341
- Address 1: Erlenwiesenstrasse 2
- City: Volketswil
- State / Province: Outside Canada/USA
- Zip / Postal Code: 8604
- Country: Switzerland
- Contact:
Re: css button image is not visible
Thank you for your answer.
Yes we are using an image widget as a button now.
Yes we are using an image widget as a button now.
Who is online
Users browsing this forum: No registered users and 2 guests