Page 1 of 1

Change image size in CSS

Posted: Saturday 26 September 2020 12:34
by madpatrick
Hi
I need some help with customization of my dashboard.
For some blocks i've added an image, but i like to have this bigger

Image

This is the line in custom.js

Code: Select all

blocks['OV'] 			= {width: 12,type: 'blocktitle',title: 'OV',image : 'bus.png'}
This is the line in custom.css

Code: Select all

.block_OV img		{width: 400% !important}
The image is not getting bigger.

Re: Change image size in CSS

Posted: Saturday 26 September 2020 19:10
by madpatrick
I've found it:

Code: Select all

.titlegroups[data-id='OV'] img				{width: 200% !important; max-width: 100px !important;}