Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Darcey1, fancy meeting you here. ??

    Edin should be displaying the featured image on the blog page, as you can see here:
    https://edindemo.wordpress.com/blog/

    An example of a featured image is on the “We have moved” post. If you view source or use a browser inspector, you can see the reference to the post-thumbnail in the code, which is WordPress’s technical term for the featured image.

    <a class="post-thumbnail" href="https://edindemo.wordpress.com/2014/07/30/we-have-moved/">
    <img class="attachment-edin-featured-image size-edin-featured-image wp-post-image" width="648" height="486" alt="moved" src="https://edindemo.files.wordpress.com/2014/07/moved.jpg?w=648">
    </a>

    How large is your smallest featured image? Is it at least 648px wide?

    Have you made any edits at all to the theme files?

    Are you using a child theme or custom CSS plugin and have you made any edits there?

    If uploading a larger featured image doesn’t do the trick, could you next try undoing any theme changes temporarily to see if that affects the featured image.

    If that doesn’t work, the next troubleshooting step would be temporarily deactivating all your plugins. If the featured image shows up , reactivate your plugins one-by-one, look at the site in between each reactivation, to find the conflict.

    Crazy question: is there a way to share the login info privately?

    I don’t usually do that in the forums since these are a public support channel, so let’s see how far we get with the above troubleshooting steps. ??

    Thread Starter Darcey1

    (@darcey1)

    HI Kathryn :),

    Sorry, I was not clear enough. I was trying to get a banner image to show up in the header area of the main Blog posts page. (In Edin, the banner images for all pages is a horizontal crop of the Featured Image for each page).

    Using a child theme with .CSS style sheet, I was going for consistency across the site (since the logo is overlaid on the banner images, all branding is lost if there is no banner image). However, the option of having a banner image on the main blog page is not built in to Edin. So I called in some professional dev help (the amazing Michal Bluma) and he created a workaround that does the trick: a custom page template for the main blog posts page.

    Going to launch the site tomorrow so will post the URL then so others can take a look.

    Thanks for clarifying! Sounds like you weren’t referring to featured images on the blog page, but instead you wanted to add a custom header (what you’ve called a banner). Glad Michal was able to help you make that tweak – hopefully that was done in a child theme (and not the original theme folder) so it won’t be overwritten every time you update the theme. ??

    I’ll mark this thread as resolved but feel free to start a new one if you need anything else!

    Hi Darcey,

    I know this is resolved, but I am looking for the exact same thing! Any way you can share the custom page template for the blog posts page?

    Thanks in advance!

    Hi!

    Wanted to share what I found in case anyone finds this post and has the same question! Since the posts page is using the index.php template, I copied that into my child theme. Then I add this to the top of the template, immediately under the get_header(); ?>:

    <div id=”posts-page” class=”hero with-featured-image”>
    <div class=”hero-wrapper”>
    <h1 class=”page-title”>Blog</h1>
    </div>
    </div>??????????

    This makes the image the featured image from the last blog post, so I added this css to my stylesheet:

    #posts-page{background-image: url(https://…insert url for image…jpg?resize=1230%2c1230);
    }

    This makes the image a static image and whatever you want it to be!

    I am very new to coding, so no guarantees there’s not something wrong here, but it seems to be working!

    ok, now I have to figure out how to make the code apply to mobile, so there’s that…

    Moderator Kathryn Presner

    (@zoonini)

    xoptopinope – if you need help with this could you please start a new thread and provide a link to your site? Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘no featured image on main blog page?’ is closed to new replies.