an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 2/11/2009 3:29:05 PM By lukezy. 1 replies.
2/11/2009 2:23:49 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Button Background Color
 
Hi,
 
Button background color has one color attribute, in case of Gradient coloring of the control, e.g. Go button on Search panel, The rectangular background has not good image.
 
1- Can a background be Transparent,
2- Can it have Gradient Color
 
BAhram
2/11/2009 3:29:05 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Button Background Color
It's defined in the theme files. If you open up Web\App_Data\Themes_Template\Default\skin\Default.skin, you will see
 
<asp:Image runat="server"
    imageurl="/dyimage.axd?type=button&cornersize=10&text=Go&width=30&bkgroundcolor=%UrlEncoded_Button Background Color%&color=%UrlEncoded_Button Gradient Start Color%&textcolor=%UrlEncoded_Button Text Color%&backcolor=%UrlEncoded_Button Gradient End Color%"
    skinid="doSearch"
/>
 
What you need to do is to change the Button Background Color to the same color the button sits on. You can also create the button by using your favorate image editor, upload it to your server and refer it in the skin file.
 
 
DotShoppingCart Staff