Tagged: x
-
AuthorPosts
-
January 15, 2017 at 11:53 am #1330963
c1sParticipantHi,
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!
January 15, 2017 at 11:55 am #1330965
c1sParticipantThis reply has been marked as private.January 15, 2017 at 8:30 pm #1331376
NicoModeratorHi 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.
January 16, 2017 at 11:13 am #1332249
c1sParticipantThis reply has been marked as private.January 16, 2017 at 11:32 am #1332289
c1sParticipantHi,
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?
January 16, 2017 at 12:18 pm #1332349
RupokMemberHi 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!
January 16, 2017 at 12:40 pm #1332403
c1sParticipantWell, 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?
January 16, 2017 at 4:25 pm #1332676
Nabeel AModeratorHi 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!
January 17, 2017 at 4:19 am #1333276
c1sParticipantHi! 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!
January 17, 2017 at 6:05 am #1333393
ChristopherModeratorHi 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.
January 17, 2017 at 8:34 am #1333546
c1sParticipantHi, 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.
January 17, 2017 at 11:20 am #1333769
Nabeel AModeratorHi again,
Upon checking it is working as expected (see attached) please clear your browser’s cache and reload the site.
Hope this helps!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1330963 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
