Site logo

[Resolved] Featured image

Home Forums Support [Resolved] Featured image

Home Forums Support Featured image

Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #289652
    Eric

    I thought the Blog Page Header would appear above all blog posts, as on the Index blog page.

    and that i would have :
    a wider Blog Post Header image,
    and a Featured image above the content,
    the same way as it does on the blog index page

    But actually, no. The Blog Page Header only appears above the blog index page. Right?

    I understood that i can fix the featured image position within the Customising page

    Maybe I might add the Blog Page Header abov all blog post with a hook?

    #289731
    Leo
    Staff
    Customer Support

    Yup that’s correct Blog Page Header is for the main blog page only.

    You can use hook that applies to all posts like this:

    <?php if ( is_single() ) : ?>
        Insert content here
    <?php endif; ?>
    #289803
    Tom
    Lead Developer
    Lead Developer

    You can add a full width image to the blog index if you choose full width in the container type option.

    As Leo pointed out, adding the same content to all single posts can be done with PHP.

    If it’s an image you’re adding to all single pages, you could do this:

    <?php if ( is_single() ) { ?>
        <img src="URL TO YOUR IMAGE" alt="" />
    <?php } ?>
    #289805
    Eric

    OK. thanks. I’ll try something like that.

    So you confirm that I can’t have a 100% width header image/featured image within the pages ?

    #289813
    Eric

    it seems to me i can have a full width image to the blog index

    if you choose full width in the container type option.

    but i can’t do that for the pages, i can’t choose a full width container for the heading image, right?

    #289837
    Tom
    Lead Developer
    Lead Developer
    #289860
    Eric

    no. sorry. i’ve just found out, as i was not searching anymore. it is possible to have a full width image for the pages with the Page Header (Container type : Full width !!!)
    how come i could not find this anymore ?!!!!!
    thanks tom, have a nice evening,
    v

    #290011
    Tom
    Lead Developer
    Lead Developer

    Glad you found it 🙂

Viewing 8 posts - 16 through 23 (of 23 total)
  • You must be logged in to reply to this topic.