New Landing How can we help? Themeforest Theme Support Dante Client Logos not sizing properly in carousel

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Dante
  • #43028
    CandaceCroweDesign
    Member
    Post count: 10

    Hello. I’m having some trouble with the Client Carousel. As you can see in the attached image, the logos display fine in the Client Feature module, but in the carousel they do not. How do I fix this?

    #43321
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    In our demo we have uploaded all of our client logos as a 200px x 200px image so that they fit in the square nicely and none of the logo gets cut off.

    In your preferred image editing software, create a 200px x 200px white square, then copy and paste your logos into the square and resize them accordingly, then re-save.

    If you like email me the logos at [email protected] and I will do it for you, it will only take me 5 minutes.

    – Kyle

    #43647
    CandaceCroweDesign
    Member
    Post count: 10

    The other Client Featured shortcode/module, the one that doesn’t rotate, accepts whatever size logo and adjusts correctly – they look great. Can the carousel be made to do that? Square cropped logos are fine for compact square and circle logos; most of our clients have strong horizontal logos. If I don’t have to upload a new file for each place I’d like to use a client logo, that’d be great too.

    #43883
    CandaceCroweDesign
    Member
    Post count: 10

    The theme is generating thumbnails of the logos at 200×200, but I cannot find how to control that behavior. Where do I adjust this?

    #43910
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You can edit the clients.php file in swift-framework/pagebuilder/builder/shortcodes/clients.php

    on line 78 and 79:

    if ($carousel_auto == "yes") {
        		$items .= '<div class="carousel-overflow"><ul id="carousel-'.$sf_carouselID.'" class="clients-items carousel-items clearfix" data-columns="'.$columns.'" data-auto="true">';    		
        		} else {
           		$items .= '<div class="carousel-overflow"><ul id="carousel-'.$sf_carouselID.'" class="clients-items carousel-items clearfix" data-columns="'.$columns.'" data-auto="false">';
        		}
        				
        								
    			$client_width = 200;
    			$client_height = 200;

    Let me know what you get when you edit those dimensions.

    – Kyle

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register