Changing the size of the Flex-slider
-
As a default, the maximum size of the Flex-slider is 1092x400px. I would like to change this to 1092x600px.
In the functions.php of my child theme, I have removed the old featured-image size and added a new one.
function remove_then_add_image_sizes() { remove_image_size('sketch-featured'); add_image_size('sketch-featured', 1092, 600, true); } add_action('init', 'remove_then_add_image_sizes');
Then I have regenerated the thumbnails. The images are bigger now, but the size of the slider is still the same. I have played around a bit with the CSS, but was not successful yet.
What would I have to do to change the height of the slider without distorting the slides?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Changing the size of the Flex-slider’ is closed to new replies.