Client Slider

GRBGRB
edited June 2019 in Shortcodes
I am trying to change the client slider width and height. I see this css block but how do I change the image to 225 w x 225 h with a 2px squared border radius around the images

<img width="225" height="225" src="http://website/wp-content/uploads/2019/06/DM-1-75x75.png" class="scale-with-grid wp-post-image" alt="" srcset="http://website/wp-content/uploads/2019/06/DM-1-75x75.png 75w, http://website/wp-content/uploads/2019/06/DM-1-150x150.png 150w, http://websitem/wp-content/uploads/2019/06/DM-1-146x146.png 146w, http://website/wp-content/uploads/2019/06/DM-1-50x50.png 50w, http://website/wp-content/uploads/2019/06/DM-1-85x85.png 85w, http://website/wp-content/uploads/2019/06/DM-1-80x80.png 80w, http://website/wp-content/uploads/2019/06/DM-1.png 225w" sizes="(max-width: 225px) 100vw, 225px">

Comments

  • I did something like this in the functions.php file but it did not force the logo client images to be the size I wanted. 
    /** Client Slider **/
    if (! function_exists('mfn_add_image_size')) {
    function mfn_add_image_size()
    {
    // clients
    add_image_size('clients-slider', 225, 225, true);
    }
    }
    add_action('after_setup_theme', 'mfn_add_image_size', 11);
  • Hi,
    Unfortunately, the size of the "Client Slider" images are hard-coded in our theme, and it cannot be easily changed in the theme options.
    As you noticed, it have to be modified in the theme code, but we do not provide this kind of help.
    We do not help with the theme files customization.

    Thanks
  • Could you tell me where in the theme code it is hard coded?
  • It's right there as you showed.
    But, you have to upload one more time to apply changed size.
    Also, you should look into the theme-shortcodes.php and theme-functions.php files.

    As I said, we cannot help with modifying the theme files, so if something in your modifications are not working, then we cannot help you with that - we assure, if your modifications will be made successfully, then it will be working fine.
    Thanks
Sign In or Register to comment.