Timeslider responsiveness


#1

Hi guys, I have a little styling problem with the timeslider widget, let me clarify it more:
I have a timslider widget that uses the full width of the parent element (div) and when I resize the screen… it adds a little margin to the right:

Before resizing:

After resizing:

If anyone could help me with this, I would really appreciate it.


#2

Are you sure you are using your CSS styles correctly ?, because it’s very likely because you are not using the full width of the screen in the parent element, so the child element will not use the full width either, maybe we need to see your html and its styles


#3

Yes, indeed, I think that the problem is with the widget, I was checking more thoroughly and I could see that inside the div it is generating other divs and an SVG, which is automatically changing its margin to the right.


#4

Hi @mdemian, my suggestion is: you can use your stylesheets to overwrite the css classes you are seeing inside the widget, in that case don’t forget to use the “!Important” in your styles.

something like this:
.your-parent-container> .timeslider-container {
margin: 0! important;
width: 100%! important;
}