Jump to content

Archived

This topic is now archived and is closed to further replies.

clinton4

Remove padding from MediaBox?

Recommended Posts

clinton4

Hi,

 

image.png

 

In this MediaBox i have a image sized 300x30 px. Why all this padding? How do i get rid of it? I want the box to be exactly 300x30px

 

 

Share this post


Link to post
Share on other sites
Erwan

Hi clinton4,

Is it really a padding issue ? Could you give me/us a link or further details?

Just in case & FYI, there's a minor bug already reported: the MediaBox is not height-responsive to the media (image) --> min-height is set to 200px by default (when not set in the options of the section --> "MediaBox Min Height (px)").

This bug will most probably be fixed in next DMS release. Meanwhile, you can easily deal with it:

  • sometimes by using the option mentioned above (it depends of the size of your image),
  • either with CSS, for instance : .section-mediabox .mediabox-wrap {min-height: 0px !important;}

Share this post


Link to post
Share on other sites

×