Make horizontal slider show only centre of the image on smaller devices

Make horizontal slider show only centre of the image on smaller devices

This was a request for the ***ADD LINK**** Distinctive Dame re-re-design project: to make the horizontal homepage slider show the centre of the image only on smaller devices; so the viewer doesnt just see a really small downsized version of the full size slider.

The view of the slider on a laptop - 1440px setting
The view of the slider on a laptop – 1440px setting

There are flexslider components in this ‘Fruity’ theme which I chose as the basis of the Dames website, but Slider control options are minimal so it had to be a hack or finding another slider – no more plugin hunts!!! – so I went for the hack option.
with the all-device standard css #slider-container {width:100% ;} this is the result.
with the all-device standard css #slider-container {width:100% ;} this is the result.
I thought messing with .flexslider .slides img {height:xx px;} might work – no result.

I tried text-align:center, align:center then read more and based on this stack overflow article: css centering slideshow images started thinking about percentages and comparative widths of container and the slides then I found articles like this transform and translate and css tricks center an object… then I tried on the 320px @media query for example:

@media only screen and (max-width : 320px)  {
#slider-container .container{width:640px !important;margin-left:-50%; !important;}
}

which results as hoped with: itdoescompute_-_showing-only-centre-carousel-slider-on-smaller-devices_03
I added this css to every @media query from 768px down changing the width for each to double that of the query width. e.g.:

@media only screen and (max-width : 768px)  {
#slider-container .container{width:1536px !important;margin-left:-50%; !important;}
}