Tagged: 1 image per post on main page
This topic contains 14 replies, has 2 voices, and was last updated by StartupWP 4 years, 6 months ago.
- AuthorPosts
- April 25, 2013 at 7:56 AM #695
I am unable to find the setting for amount of images on the main blog (index page). I had assumed that there would be 1 image per post (aka: featured image or thumbnail image) visible on the main index page & then when viewing the single post page, ALL the images would be presented. But I do not see any setting for this, and do not see any function that will accomplish this.
April 25, 2013 at 8:18 AM #696What I have on index page:
post with 1 image shows 1 image.
post with 5 images shows 5 images.
What I have on single post:
post with 1 image shows 1 image.
post with 5 images shows 5 images.
What I need on index page:
post with 1 image shows 1 image.
post with 5 images shows 1 image.
what I need on single post:
post with 1 image shows 1 image.
post with 5 images shows 5 images.
April 25, 2013 at 10:12 AM #698Thank you, the issue is very clear. Can we get a link to the website in question to see if we can investigate further?
Likely an issue of Summary vs Full Content under Settings > Reading.
April 25, 2013 at 10:21 AM #699Here is the blog (posts) page
the third post down has 5 images, 4 are post images and one is set as “featured” so it became duplicated. there should be 1 image on the main page & 4 images on the single page.
Thank you!
April 25, 2013 at 2:35 PM #701Add the following CSS and only the images you specifically set as the featured images will appear on the blog page:
`.blog .entry-content img{display:none}
.blog .entry-content .attachment-post-thumbnail{display:inline}`April 26, 2013 at 12:26 AM #708Thank you that worked, but now there are duplicate images on the single view of the post. http://sfpontona.se/forsta-andra-tredje/
April 26, 2013 at 10:31 AM #709`.single-post .entry-content .attachment-post-thumbnail{display:none}`
April 26, 2013 at 11:20 AM #710Thank you.
April 26, 2013 at 2:42 PM #711You’re welcome.
September 26, 2014 at 2:06 AM #1902I have upgraded to the newer theme (StartupPro 1.1.6) and this fix is no longer working in the dreaded IE 8, but still good in Firefox, Safari, Chrome and IE 9, 10 & 11. I am getting double sets of images in the news feed as well as duplicate images in single posts as well. The .blog class does not seem to exist anymore.
The site URL is News What will fix the duplicate images in Internet Explorer 8?September 26, 2014 at 10:53 PM #1903The other alternative is to not set featured images and instead manually place them in the post content.
From what version of StartupPro did you upgrade from?
September 26, 2014 at 11:30 PM #1904Sorry that was wrong, I upgraded from 1.1.6 to 2.5.1, so I am running the new version of course, 2.5.1 at this time. I was thinking that a fix could be made using class ie8 …
.ie8 .attachment-post-thumbnail {display:none;}
but that didn’t work.September 27, 2014 at 6:36 PM #1906See how to use browser-specific CSS hacks here:
September 30, 2014 at 6:54 AM #1908What did work ( finally) was this:
/* IE8 and below */
.wp-post-image {display:none\9;}September 30, 2014 at 5:46 PM #1909Excellent, thanks for the update.
- AuthorPosts
You must be logged in to reply to this topic.