• Resolved ojabierto

    (@ojabierto)


    Hi!

    1/ I’m doing a website with the OceanWP theme, and I have a problem with small margins that appears after the content in the posts, before the top and the bottom of the page. (bottom issue is resolved thanks to your answer in another post:
    “.single .entry-content {
    margin-bottom: 0;
    }”

    Do you know how I can eliminate that margin above the post’s content ?

    2/ I can’t decrease the height of the featured image in posts. Any option the fix this ?

    Thank you so much for your great job and the help you give to the people ! 🙂

    Romain

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Will you please share your site link so that we can provide you the best possible solution to fix the issues?

    Thread Starter ojabierto

    (@ojabierto)

    Hi Amit,

    Unfortunately I’m working offline. I’ll try to explain myself a little bit better.

    1/ I have a problem with small margins that appears before and after the content in the posts. For exemple after the header or the featured image (top issue) and before the footer (bottom issu). I resolved the “bottom” issue, thanks to your answer in another post, I just had to paste this code i the CSS window of your customizer.

    .single .entry-content {
    margin-bottom: 0;
    }

    So now I just have to do the same for the “top” issue. I tried this but I didn’t work

    .single .entry-content {
    margin-top: 0;
    }

    Any suggestion ?

    2/ I just can’t find the way to adjust the height of the featured image in posts. I am probably missing the good place to do it in the customizer.

    Thanks a lot.

    Romain

    Hello,

    1. if possible please share screenshots of the above issue?

    2. Add this code in your customizer > custom CSS/JS to adjust featured image.

    .single .thumbnail img {
        width: 100%;
        height: auto;
    }
    Thread Starter ojabierto

    (@ojabierto)

    Hello,

    So, the solution 2 didn’t work at all because since the height is auto, it displays the image at 100%.

    Anyway, I resolved the 2 issues in once, using only elementor and not the native featured image way.

    Thank you.

    Hello,

    You can adjust width and height as per your need.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Post Content Margins (top) and featured image height’ is closed to new replies.