Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Containerwidth for slider Re: Containerwidth for slider

#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!