Home › Forums › CSS › Containerwidth for slider › Re: Containerwidth for slider
February 11, 2013 at 6:06 pm
#124118
tomrogers123
Member
If you want to break away from the constraints of the container without actually altering the containers, maybe you could use some JavaScript (I’ll give jQuery as an example ’cause that’s all I know):
$(‘.ls-container’).css( ‘width’, $(window).width() );
You’d also have to target the child div and apply the same value as it doesn’t look like it inherits a with from the parent.
This would assign an inline width style based on the user’s window width each time it ran… A little gross (using JavaScript for style) but if you can’t get in and modify the CSS linked by the plugin it’s a way to get it done!