• I’m trying to adapt the Autofocus theme (v1.0.1) for my website, and the only thing that is nagging at me is the big grey placeholder that appears when you don’t attach any pictures to a post.

    I know I can eliminate the placeholder by adding

    .single .full-photo {display:none;}

    to the CSS, but that will kill the placeholder for ALL posts. I only want to kill it for the posts without attached pictures, but I can’t seem to find any info about whether that’s possible or not.

    Help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wongoz

    (@wongoz)

    a friend figured out a workaround using a 1px white gif to use as the no-image placeholder instead of the default picture. personally i don’t think it’s ideal, but it works!

    What I did to solve this problem was download the “custom post template”. I copied the index file, and tweaked it till it was how I wanted it then set it up as a post template. Works great, although I had to download frontpage by category template, to exclude blog posts from coming up on the homepage. Hope this helps.

    Ok, so after I wrote this message i was playing around and when I went to view my blog category, it was displaying like the homepage, and since the blog category is strictly for text no images, I had to change this. What I did was open up the index page, and save it as category-5(5 being my blog category id#). So now all my other categories are display with images, but my blog category is displayed as a blog.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Autofocus theme customization for posts with no pics’ is closed to new replies.