• I am using the theme ‘theme52173’ which is a child of the CherryFramework theme. I’ve successfully changed the height of the slider to 24% of the page by adding this to the custom-function.php for theme52173 source:

    add_filter('cherry_slider_params', 'child_slider_params');
    
    function child_slider_params( $params ){
    	$params['minHeight'] = '"100px"';
    	$params['height'] = '"24%"';
     return $params;
    }

    However it looks like the width of my slider’s images is scaling according to the new height and not filling the width of the container:
    how the slider, unfortunately, looks.

    I’ve also noticed that each “slide” image has a element style applied to it that is responsive to the size of the browser:

    Here you can see that the width is 366.726px. I want to make this 100%.

    Any help would be much appreciated.

    • This topic was modified 8 years, 2 months ago by beckah.
    • This topic was modified 8 years, 2 months ago by beckah.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Slider is adjusting width to scale and not staying at 100% of container’ is closed to new replies.