Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1404479

    How do I change the size of the accordion slider?
    I would like the images to be 450X450 but the only square image option in the image size pull down is Masonry (705 x 705).
    Thanks so much for your help!!

    #1404634

    Hey epkdesign,
    Try creating a new image size such as square_accordion by adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_image_size('square_accordion', 510, 510, true);
    add_filter( 'image_size_names_choose', 'my_custom_sizes' );
    function my_custom_sizes( $sizes ) {
        return array_merge( $sizes, array(
            'square_accordion' => __( 'Square Accordion' ),
        ) );
    }

    Note that the image size is 510px square, this is because the Accordion Slider has a 500px minimum.
    Then install the plugin Regenerate Thumbnails and go to WordPress ▸ Tools ▸ Regenerate Thumbnails
    Then in your accordion slider element you can choose the new size:
    Enfold_Support_1794.jpeg
    and on the frontend the new image thumbnails will show:
    Enfold_Support_1796.jpeg

    Best regards,
    Mike

    #1404766

    Thank you so much! This worked just as I wanted it to!

    #1404767

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Accordion Slider’ is closed to new replies.