How to set 0 padding at the top and bottom of portfolio page in sydney pro

I have set the portfolio page as no sidebar to get a full-width display. But, in the top and in the bottom I don’t want the white gap space coz it looks very dull. i have tried to find the solution but did not find it. (
Removing space after header slider ) also i have tries in the css files but no where i find the padding settings options. Kindly please help to solve this issue.

This is the url where you can checque the issue. https://www.wenhancerealtors.com/projects/test-page-2/

Thank You,
Regards
Rahul

Hi,

You can remove the page and content wrapper padding with this Custom CSS:

.page-wrap {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.page .page-wrap .content-wrapper, .single .page-wrap .content-wrapper {
    padding: 0 30px;
}

Please add the above CSS to your Child Theme’s style.css or in case you haven’t setup a Child Theme already, then you can also add the CSS to wp-admin -> Appearance -> Customizer -> Additional CSS so you won’t loose the changes after Theme or WordPress updates.

Please let me know how it works.

Kind Regards,
Csaba

Thank you. Let me try this code in the appearance… section

Sir, i ad this code in appearance… css. But, still at the bottom it is showing the gap, however, at top it is perfect now. Please check this url after adding the above css code https://www.wenhancerealtors.com/test-tage-2

Hi,

The bottom space is the single page hentry’s padding and margin bottom which you can also remove with this Custom CSS:

.single .hentry {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

Please let me know how it works.

Kind Regards,
Csaba

Thank You Very Much :slight_smile: ! its done

Hi,

Great! You’re most welcome! If you need help with anything else, please open a new topic.

Have a nice day!

Kind Regards,
Csaba

1 Like