• Hi there,
    I was wondering if it was possible to set a featured image for a post, but not replace my header image. I want to use a picture for my thumbnail, but when I set it as a featured image, it replaces my header image as well. Is there a way to not do this? I am using the BlogoLife 2.0.1 theme. Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The non code way is to only upload image with less than 960px in width.

    The other way is to make a child theme and override header.php

    Create a child theme, install and activate, make sure it works properly.
    https://codex.www.ads-software.com/Child_Themes

    1. Copy over header.php from parent theme and put in child folder.
    2. Locate the if condition in line #115
      https://themes.trac.www.ads-software.com/browser/blogolife/2.0.1/header.php#L115
    3. Change is_singular() to ! is_singular()

    ( just add the ! in front of it )

    Thread Starter sinfulnutrition

    (@sinfulnutrition)

    Hmm I have no knowledge about coding so I don’t think I’ll be going that route. I guess I’m just confused as to why some of my images are resized to a smaller image when i set it as a featured, and some take up the whole header. For example:

    This post used a picture 1600 X 2000 and resized to a smaller image

    “>

    While this post used a picture 4000 X 3000 took up the entire header.

    If I used pictures 1600 X 2000 or smaller, would it not take up the entire header space?

    Thanks again

    Thread Starter sinfulnutrition

    (@sinfulnutrition)

    Hmmm not sure why the links didn’t show up but here they are again:

    1600 X 2000:
    https://wp.me/p3BhU5-Kj

    4000 X 3000:
    https://wp.me/p3BhU5-Ip

    I could only assume it was uploaded before you switched to use this theme ? WP only crops image once upon upload with the sizes based on theme.

    Try delete that particular image and reupload again. Please note, you have to actually delete it from WP, not just from the post content.

    Thread Starter sinfulnutrition

    (@sinfulnutrition)

    Which picture are you referring to? The first or second?

    The papajohn one, the one that doesn’t get cropped properly.

    Thread Starter sinfulnutrition

    (@sinfulnutrition)

    I like the way that one gets cropped rather than taking up the entire header space, so should i try to delete and upload the other post image?

    The problem is how you gonna get new images to NOT get cropped like that ?

    Did you upload that papajohn image before switching to this theme ?

    Thread Starter sinfulnutrition

    (@sinfulnutrition)

    I would like the images to get cropped like that. Sometimes they do and sometimes they don’t I’m guessing on the size they are uploaded as. I believe I did upload the papajohn image before the theme.

    To get the header image to NOT get cropped like theme is designed to, please post a new topic directly to the theme forum using this link here
    https://www.ads-software.com/support/theme/blogolife#postform

    To set featured image without having it replace header image, upload image with a width less than 960px.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Set featured image without replacing header’ is closed to new replies.