After solving my previous problem on how to style certain parts of my theme differently from others using CSS - http://themeshaper.com/forums/topic/styling-index-page-differently-from-post-page - I'm looking to add some images. The problem is similar to the last in that I only require the images to be visible in certain areas of the theme, but I don't think it can be done with CSS this time.
The layout is currently as shown in the image linked to below:
http://picasaweb.google.com/jameskyle.net/ThematicLayoutImages#5545689789086074018
(Picasa web album link.)
I'd like the purple areas (.hentry) to be the featured image of the post they represent. I think I'd need a PHP based solution, as I don't think I can reference the featured image of the post using CSS as I can't give an address before the page is rendered.
This is complicated however by the need to have no background image in other parts of the site, specifically the areas covered in the first post I made:
- .single
.page
.page-template-template-fullpage-php
The idea is that lists of posts, be they the index page, archives or searches show the image and title in a 2 by x grid with only the title and featured image visible but look like regular posts in .single or .page.