Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1273543

    I would like to change the shape from a circle to the actual image size (maybe with the option of x% image size).

    I found a few topics on the subject but none worked.

    You can see the image in the TESTIMONIALS section of the site, https://lnkd.ly/

    #1273901

    Hey elituchy,

    Thank you for the inquiry.

    We could adjust the border radius property of the testimonial image to remove its roundness or to display its actual shape.

    .avia-testimonial-image {
    	border-radius: 0;
    }
    

    If you want to adjust the thumbnail size, use the avf_testimonials_avatar_size filter in the functions.php file.

    function avf_testimonials_avatar_mod( $size, $src, $class ) {
        return 'square';
    }
    
    add_filter('avf_testimonials_avatar_size', 'avf_testimonials_avatar_mod', 10, 3);
    

    And make sure that the size of the testimonial image element corresponds to the actual size of the thumbnail.

    .avia-slider-testimonials .avia-testimonial-meta .avia-testimonial-image {
        width: 180px;
        height: 180px;
    }
    

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.