# Fine-tune Icons

This help article shows how to modify the position, size and color of icons in **RadToggleButton**.

* [Fine-tune Position](https://www.telerik.com/products/aspnet-ajax/documentation/controls/togglebutton/functionality/icons/fine-tune#fine-tune-position)

* [Configure Font-size and Color](https://www.telerik.com/products/aspnet-ajax/documentation/controls/togglebutton/functionality/icons/fine-tune#configure-font-size-and-color)

## Fine-tune Position

You can change the position of font or image icons to match your concrete requirements. To do this, use the `Icon.Top` and `Icon.Left` properties to directly offset the icon in the particular toggle state (**Example 1**).

> caption Figure 1: The icon in RadToggleButton can be offset from its original top and left position. See Example 1.

![RadToggleButton Icon Top Left](https://www.telerik.com/products/aspnet-ajax/documentation/assets/f632aee8c5ca717b6095fb7baaac4948/button-icon-top-left.png)

> caption Example 1: Offset RadToggleButton icon from the top and left. You can see the result in Figure 1.

```ASP.NET
<telerik:RadToggleButton ID="RadToggleButton1" runat="server" Text="Fine Tune Icon Position" Height="40px">
	<ToggleStates>
		<telerik:ButtonToggleState>
			<Icon CssClass="rbRefresh" Top="10px" Left="7px" />
		</telerik:ButtonToggleState>
		<telerik:ButtonToggleState>
			<Icon CssClass="rbSave" Top="10px" Left="7px" />
		</telerik:ButtonToggleState>
	</ToggleStates>
</telerik:RadToggleButton>
```

## Configure Font-size and Color

The embedded **RadToggleButton** icons are font icons. Using a font facilitates the customization of the icons. For example, you can change the icon's color and font size with a single line of CSS (see **Figure 2** and **Example 2**).

> caption Figure 2: Customize the font size and color of the embedded icons of RadToggleButton with CSS.

![Button Icon Customized](https://www.telerik.com/products/aspnet-ajax/documentation/assets/ad01e13b7f3cbe1d6d02d8e88be9de69/button-icon-customized.png)

> caption Example 2: Use CSS to modify the font size and color of the embedded icons in RadToggleButton.

```CSS
<style type="text/css">
	button.RadButton.customizeIcon .rbPrimaryIcon:before {
		color: red;
		font-size: 17px;
	}
</style>
```

```ASP.NET
<telerik:RadToggleButton ID="RadToggleButton2" runat="server" Text="Icon Custom Size and Color" CssClass="customizeIcon">
	<ToggleStates>
		<telerik:ButtonToggleState>
			<Icon CssClass="rbSave" />
		</telerik:ButtonToggleState>
		<telerik:ButtonToggleState>
			<Icon CssClass="rbRefresh" />
		</telerik:ButtonToggleState>
	</ToggleStates>
</telerik:RadToggleButton>
```

> tip This also applies for [custom font icons](https://www.telerik.com/products/aspnet-ajax/documentation/controls/togglebutton/functionality/icons/custom-icons#font-icons).

## See Also

* [Icons Overview](https://www.telerik.com/products/aspnet-ajax/documentation/controls/togglebutton/functionality/icons/embedded-icons)

* [Custom Icons](https://www.telerik.com/products/aspnet-ajax/documentation/controls/togglebutton/functionality/icons/custom-icons)

* [RadToggleButton Overview Demo](https://demos.telerik.com/aspnet-ajax/togglebutton/overview/defaultcs.aspx)
