Increase space between text and featured image

Hello

Can you please give me code to increase the space between my post title and featured image and under my featured image? I have gotten rid of the date and author and have tried so much code I have found on the forum and none of it works.

Thank you,
Lucy

Hi,

Please add this Custom CSS in Appearance -> Customize -> Additional CSS,

.single .entry-meta {
    display: none;
}
.single .entry-title {
    margin-bottom: 25px;
}

First one hide the date and author, second one will increase the space between the title and the featured image, the default gap is 15px, I changed to 25px if you need more space, increase the 25px to your desired size.

Let us know,

Thanks,
laranz.

Hi Laranz

None of that works.

I have used the following to remove author and date:

.entry-meta { display: none !important; }

I would like code to increase the space between the title and feature image and below the featured image and text.

Thank you,
Lucy

Hello there,

I hope you are doing well today.

You can use the following CSS code to add some padding to the featured image by going to Appearance > Customize > Additional CSS and pasting it there.


/*Featured image padding*/
.single-featured {
    padding-bottom: 10px;
    padding-top: 10px;
}

Best Regards,
Support