Portfolio Item blank space before first section + after last section

Dear support team,

I have trouble removing blank spaces before the first section and after the last section of a portfolio item: https://skin.lu/portfolio-item/cgdis-3/
See screenshots attached. I have added the following code which removed some of it but not the whole thing.
.entry-header {
display: none;
}
Could you please look into this?

Thanks a lot,

Anton

Hello Anton,

Thanks for writing to us.

I would suggest you please add this custom CSS code to get rid of the blank space.

.single.single-x-portfolio .x-container.offset {
    margin-bottom: 0;
}
.single-x-portfolio .x-portfolio .entry-content.content {
    margin-top: 0;
}

The purpose of providing custom CSS is to show you how to add CSS code to your site. Writing custom CSS is outside the scope of our theme support. If you need more customization, you need to learn CSS and learn how to use the browser’s element inspector.In case you have no idea about coding you can subscribe to One where customization questions are answered.

Hope it helps.
Thanks

Hi Prakash,
thank you for the fantastic support - like always !
Have a nice rest of the week.
A

You are most welcome, Anton.