Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #654499

    I found a solution (not in the forum but via google) but it didn’t seem to work.

    The year old thread https://kriesi.at/support/topic/picture-size-in-testimonial-slider/ said

    #top .av-large-testimonial-slider .avia-testimonial-meta .avia-testimonial-image {
    width: 200px !important;
    height: 200px !important;
    }

    I assume this has changed in the last year.

    What I want do is have the compact slider

    Use an image 180px
    I used the sample with the change of px size but nothing changed.

    Do I also have to change the thumb size to 180?

    Thanks,

    #654508

    Hi stevenleith!

    DO you have any Cache active?
    I am doing changes but can not see them live.
    Anything on cloudflare?

    Regards,
    Basilis

    #654513

    Well, what I see in wordpress doesn’t indicate caching, but the host might use something like that.

    I logged in to the host dash board and also don’t see a place to turn off caching so I will have to get some info from them.

    Please stand by while I try to track down what is going on.

    So you know this host Mediatemple, is not my standard host.

    Be back soon.

    #654517

    Well, how fun. Media Temple has 3 levels of caching and it can not be turned off.

    I am now attempting to find out what sort of roadblocks they have for having my people move the site to a real host.

    #654518

    It can not be turned off and it updated every couple of hours.

    So my fix, from the help file, might have worked.

    Do I also need to update the thumbnail to 180?

    I can at least do what I think should be done and wait to see.

    I know you don’t want to deal with this lag time but if the cod I found should work

    #top .av-large-testimonial-slider .avia-testimonial-meta .avia-testimonial-image {
    width: 180px !important;
    height: 180px !important;
    }
    I can keep checking to see if it happens. What I need to know for sure is if I also have to set the thumbnails to 180 and regen the images (or merely upload the 5 images again which is better).

    Thanks

    • This reply was modified 8 years, 4 months ago by stevenleith.
    #655959

    Hi,

    Use this filter in the functions.php file to set another thumbnail size for the testimonial slider:

    add_filter('avf_testimonials_avatar_size', 'avf_adjust_testimonials_avatar_size' );
    
    function avf_adjust_testimonials_avatar_size($avatar_size) {
    	$avatar_size  = 'square';
    	return $avatar_size;
    }

    Default size is square. Use this css code:

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

    Best regards,
    Ismael

    #657666

    What if you don’t want it square?
    The designer wants to keep it round as it is now in the compact slider, just a larger circle.

    #658526

    Hi,

    You can simply use this code in Quick CSS in that case

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

    P.S.: I tried to login to your site but credentials did not work for me. If the code does not work, please post new logins so we can look into it.

    Best regards,
    Yigit

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