Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1330963
    c1s
    Participant

    Hi,

    I have a post which doesn’t show its thumbnail picture in the archive page, but does show its thumbnail picture in the “recent posts”. I can’t find the reason why the thumbnail is missing in the archive page. Could you please help me??

    Thanks!

    #1330965
    c1s
    Participant
    This reply has been marked as private.
    #1331376
    Nico
    Moderator

    Hi There,

    Thanks for writing in.

    I could not login to your setup due to the clef login.

    Would you mind disabling it then will check your setup further.

    Thanks.

    #1332249
    c1s
    Participant
    This reply has been marked as private.
    #1332289
    c1s
    Participant

    Hi,

    well I found out that the post type of this post “Ein Ausblick in die Zukunft…” is set to “gallery”. And all the other posts are either type “image” or “standard”. With the “gallery” type however, the post thumbnail will not be shown in the archive pages.

    I assume this is, because I am using the envira gallery plugin.

    Is there still a way around to show the post thumbnail in the archives with gallery type posts?

    #1332349
    Rupok
    Member

    Hi there,

    Thanks for writing back. As you are using Gallery type, it won’t show featured image. You can set “Standard” type for the post as it won’t make any difference I guess.

    Cheers!

    #1332403
    c1s
    Participant

    Well, you are right – it doesn’t make a big difference. The icon, which is displayed, when the mouse is hovered over the thumbnail of the recent posts, is different between the “image” and “gallery” post type. But I can really go without that as well, as the “image” icon resembles the “gallery” icon pretty much.

    However, concerning these icons when the mouse is hovered over the post, i have found out that in the archive pages, there is the “link” icon for all of the posts, regardless of the post type. This doesn’t seem like a consistent design. Is it a bug? Can it be changed, so the “image” and “standard” icons are shown in the archive pages as well as in the recent posts?

    #1332676
    Nabeel A
    Moderator

    Hi again,

    That is intentional, however you can change the hover icon for each format by adding the following code in your Child Theme’s style.css file:

    .format-image .entry-featured .entry-thumb:hover:before, .format-image .entry-featured .entry-thumb:before {
        content: "\f083" !important;
    }
    .format-gallery .entry-featured .entry-thumb:hover:before, .format-gallery .entry-featured .entry-thumb:before {
        content: "\f03e" !important;
    }

    Cheers!

    #1333276
    c1s
    Participant

    Hi! Thanks for the code. Unfortunately it doesn’t work yet! The post-type “image” still shows the “link” icon on the archive page.

    I am trying to have the same icon of the posts of the archive page

      and

    the blog page as in the recent posts. Thanks for your help!

    #1333393
    Christopher
    Moderator

    Hi there,

    Please update previous code to :

    .entry-featured .entry-thumb:hover:before,.x-recent-posts .x-recent-posts-img:before {
        content: "\f083" !important;
    }

    Hope it helps.

    #1333546
    c1s
    Participant

    Hi, sorry, no it doesn’t change anything.

    I will try to explain it again.

    1. When you hover over the thumbnail picture in the recents posts, an icon before a blue, semi-transparent background appears. According to the post type, the icon is a “camera” (in post type “image”), or a “document” (in post type “standard”).

    2. I would like to have exactly the same behavior in the BLOG page AND the ARCHIVE (=category) pages. However, there is always the same “link” icon shown, regardless of the post type.

    #1333769
    Nabeel A
    Moderator

    Hi again,

    Upon checking it is working as expected (see attached) please clear your browser’s cache and reload the site.

    Hope this helps!

  • <script> jQuery(function($){ $("#no-reply-1330963 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>