Images more small in random block module

I use random item block module in my first page , but I would like that my images were more smaller.
Could you help me

Hi @gusu ,

I feel like there could be a couple of ways to approach this, but I would start by installing the CSS Editor module

If you only ever plan to display 1 random item then you can adjust the width of the image using the following CSS: and it will center the image and set the width to 300px. But the title of the item will still be the full width. However, if you look at the HTML and class, then you can style each of the pieces.

.block-randomItems .img {
    width: 300px;
    height: auto;
    margin: 0px auto;
    display: block;

This is just a basic example and there are limitless possibilities, but I think the key is to add the CSS Editor and then style it how you want.

thanks very much for your answer