This is a migrated thread and some comments may be shown as answers.

Custom Tabstrip Gradient

3 Answers 133 Views
TabStrip (Mobile)
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 12 Aug 2012, 03:09 PM
Hi guys,

I'm trying to change my tabstrip gradient color and it's not working. How do I change it?

This is what I currently have:

#custTab .km-tabstrip {background-color:#ccc;}

All that does is change the top half of the tabstrip

3 Answers, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 13 Aug 2012, 07:26 AM
Hi Martin,

The TabStrip gradient is a transparent CSS3 gradient and is set as a background-image. You can change it like this:
#custTab .km-tabstrip {
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8));;
}


I've specified it with the old syntax as it is supported in iOS under 5. You can also use an online gradient generator to do it, until the Kendo UI Mobile Theme Builder becomes available.

Regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Martin
Top achievements
Rank 1
answered on 22 Aug 2012, 09:19 AM
Hi Kamen,

Thanks for the reply. Got it working :) Just one more question. Why are my icons not showing on tabstrip?
When I link to <link href="http://cdn.kendostatic.com/2012.2.710/styles/kendo.mobile.all.min.css" rel="stylesheet"> it works, but when I use <link href="css/kendo.mobile.all.min.css" rel="stylesheet" type="text/css"> the data-icon on tabstrip doesn't show at all.
0
Martin
Top achievements
Rank 1
answered on 22 Aug 2012, 09:31 AM
Ignore my last post. Figured out why it's not working :)
Tags
TabStrip (Mobile)
Asked by
Martin
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Martin
Top achievements
Rank 1
Share this question
or