• Resolved nikecream

    (@nikecream)


    Hi! I recently noticed (I think that after WordPress updated) that all the featured images in all my blog posts are suddenly too big and cover the top of the blog (the logo, the categories, etc.). It looks quite ugly. Any idea of how I fix this? I already contacted Bluehost but they did nothing as always. Kind regards, Nika

    The page I need help with: [log in to see the link]

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

    I have found a quick fix for this.See if this helps.

    Can you please add below CSS in your Additional CSS section of WordPress Admin Panel.
    Steps :
    Navigate to Appearance > Customize in your WordPress dashboard to open the WordPress Customizer.
    Select the Additional CSS option from the menu on the left in the WordPress Customizer interface
    And add below CSS code

    
    .post-thumbnail {
        margin-top: 40px !important;
    }
    

    Hope this helps.

    Thanks,
    Kartik

    Hi Nika,

    It seems that there is a CSS style that will cause this error.
    You can remove this CSS style from you code and it will definitely help you.

    Here is the CSS code that you have to find in your style.css file which is located at directory path wp-content/themes/alluring-ecommerce/style.css.

    .post-thumbnail {
        width: 100%;
        max-width: 100%;
        margin-top: -60px; // just remove this line and keep all the lines remain as it is
        text-align: center;
    }
    Thread Starter nikecream

    (@nikecream)

    Thank you @kartiks16 I tried what you wrote and it worked right away! @baranwal thank you!

    • This reply was modified 4 years, 11 months ago by nikecream.

    Happy to help you Nika!

    I’m not sure this is the exact right place to post this but it’s pretty close.

    Recently, WP starting saying “The featured image should have a size of at least 1200 by 675 pixels.” I’ve been using 800×450 just fine. Anyway, I figured I’d try 1200×675. It’s way too huge, you can only see a part of the image.

    Questions:

    1) Am I doing something wrong?
    2) Can i delete the alert from telling me that as it covers part of what I’m working on?

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Featured image in blog post too big (covers the top of the blog)’ is closed to new replies.