Info box > img CSS being set incorrectly
-
Hello team,
More CSS issues inline with most of the tickets I’ve raised previously.
Your default value for
.uagb-ifb-imgicon-wrap .uagb-ifb-image-content img
is ‘max-width: 100%;’, which is perfect. However, when resetting the width value in the block, a specific (unwanted) width and max-width value are being applied to the ID as so:#uagb-infobox-0cc49a73-e72b-47c6-9990-abfe0786dca0 .uagb-ifb-image-content > img { width: 120px; max-width: 120px; }
Steps to reproduce:
- Add ‘Info Box’ block to page
- Set image/icon to ‘image’ > add any image, size ‘medium’
- Select ‘reset’ and delete value in width field
- Save > View page
My ‘medium’ image has a width of 300px, so unless otherwise specified in the info box block, it should inherit your default value of
max-width: 100%
, and be limited to 300px wide.Please can you fix this, it’s happening throughout your blocks… the only way I can override it is to set a custom CSS value with
!important
- The topic ‘Info box > img CSS being set incorrectly’ is closed to new replies.