Excessive space under block when embeded into post

Posted in: Newspaper
Post count: 21

Hi,

See this image as reference to my question. We use this code to embed the block 21 into our posts:

[td_block_21 custom_title=”” separator=”” post_ids=”12089″ css=”.vc_custom_1493286824590{border-top-width: 1px !important;border-bottom-width: 1px !important;padding-top: 5px !important;border-top-color: #003399 !important;border-top-style: solid !important;border-bottom-color: #003399 !important;border-bottom-style: solid !important;}” tdc_css=””]

I think it works perfectly except for the border line under the embedded post. I would like to have that border at the same distance to the image as the top border. I’ve tried to set a negative padding, but that doesn’t help. Would that be possible to arrange that line somehow with custom code?

“Live” example: https://eu-uutiset.fi/2017/05/17/eun-tyollistamistukea-suomeen-nokian-entisille-tyontekijoille/

Thanks =)

Post count: 20688

Hi,

That is happening because there is a min-height on the module set here
https://www.screencast.com/t/XNb5wHGHJx
A solution would be to modify that value like this and see if it works in this case, and for other similar situations if you have any
https://www.screencast.com/t/uklvrnntO
This is the code used if you want to try it, or maybe modify it as you like

.td_block_21.vc_custom_1493286824590 .item-details {
min-height: 70px;
}

Thanks

Post count: 21

Hi Simion,

That worked like a charm. Thanks!

Best regards,
Trond

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.