Show feature photo in posts page
-
Hi there, I’m wondering if there is a way I can show a small version of the feature photo for each post on my posts page?
The page is kaylarperry.com/blog
Thanks!
The blog I need help with is: (visible only to logged in users)
-
Hi there, Obsidian is not designed to show featured images on the blog/archive/tag/category pages, and that is not something that can be added with CSS.
An option though, would be to insert the image into the top of the post before any text content and it would show up on the blog page. It could then be hidden with CSS on the single post pages. To do this, you would add the following CSS
.single .hide-img { display: none; }Then you would add the “hide-img” CSS class to the image code on the image inserted into your post so that it would look something like this.
<img class="alignleft size-thumb wp-image-xxxx hide-img" alt="" src="URL_OF_IMAGE"> -
-
Sorry, no. If you can add the image as a thumbnail to the post you have, I can look and work on the code. I was working off of the demo site for Obsidian.
- The topic ‘Show feature photo in posts page’ is closed to new replies.