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

Css problem

2 Answers 67 Views
Slider
This is a migrated thread and some comments may be shown as answers.
FAR
Top achievements
Rank 1
FAR asked on 18 Sep 2009, 12:45 PM
Hi, i have my own skin for my slider, (vertical slider)

with :

 
.RadSlider_simbaSkin .rslItemsWrapper .rslItemSelected  
{   /*background: url('Slider/DragVerticalHandle.png') no-repeat;*/ 
    backgroundurl('Slider/DragVerticalHandle.png'no-repeat
    /*border:1px solid green;*/ 
    color#999900

Everything is working fine, except when my first element is selected, where there is no background image;

I've searched why, and with FireBug i found this :

.Radslider .rslVertical .rslItemsWrapper .rslItemFirst, .RadSlider .rslHorizontal .rslItemsWrapper .rslItemFirst { 
background-image:none

And its removing my background image when my first element is selected.

And it's not in my code or in my css file, its in a "WebResource.axd?d=YR8ix.............................................&t=6338....0316" file.


How can i find this line and delete it ?

2 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 22 Sep 2009, 06:17 PM
Give this a go, should help with the issue:

.RadSlider_simbaSkin .rslItemsWrapper .rslItemSelected   
{   /*background: url('Slider/DragVerticalHandle.png') no-repeat;*/  
    backgroundurl('Slider/DragVerticalHandle.png'no-repeat !important;  
    /*border:1px solid green;*/  
    color#999900;  
}  

0
Tsvetie
Telerik team
answered on 23 Sep 2009, 08:21 AM
Hi FAR,
The line that you are looking for is in the common CSS file for the RadSlider control - Slider.CSS. You can either use a custom common CSS file by setting EnableEmbeddedBaseStylesheet = false for the slider and adding a reference to this custom file on your page as well, or you can increase the weight of your CSS selector just as Schlurk suggested. You can read more about disabling embedded resources and custom skins in our online documentation.

Kind regards,
Tsvetie
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Slider
Asked by
FAR
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Tsvetie
Telerik team
Share this question
or