The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

AutoFocus Theme Remove Featured Image (7 posts)

  1. deadeyedick23
    Posted 5 years ago #

    Hey everyone,

    I'm having a bit of an issue with the AutoFocus theme which is a child theme of Thematic. Autofocus has an alternate frontpage design where instead of what is shown now on my site (deadeyedesignny.com) it's 4 columns of 171px x 171px. The problem is the image used in the thumbnail is what is set as the featured image which also appears at the top of each individual post. So if I want to put in a 171x171 thumbnail it just stick that same image in the middle of the top of the page for the post.

    Is there a way to just not show the featured image at all on the individual posts? I imagine I'd have to edit single.php to get this, but I'm not sure what to do and code really isn't my forté.


  2. thebenp
    Posted 5 years ago #

    I am having the same issue. Would love to know what block of code to comment or change. I have tried a few things, but nothing has worked so far.

  3. ohsheglows
    Posted 5 years ago #

    Any chance someone has figured this out?

  4. thebenp
    Posted 5 years ago #

    I would still love to know as well :)
    @ohsheglows if you find anything new report back :)

  5. jeffludes
    Posted 5 years ago #

    Got it-

    Open the single.php file.

    Delete this line:
    <?php the_post_image('none'); ?>

    I'm sure this is sloppy coding... I don't know what I'm doing really. But it looks the way I want it to now =)

  6. coloradogreenroofing.com
    Posted 5 years ago #

    I do not see that line in that file. Maybe they moved it since you wrote that post? Anyone know the new method for removing the featured image on individual post pages in AutoFocus?

  7. Joiningpoint
    Posted 4 years ago #

    Hey everyone .....through a process of trial and error I managed to find out how to stop the featured image being shown as a big image in the posts - by adding and removing {display:none;} in the Stylesheet (style.css) under Entry Media until it worked... :-)

    It needs to be placed in the category Entry Media, so just scroll down, it's after /* -Entry Edit Links */ and before /* =Single Post Template.

    It's the second to last line and the command {display:none;} is added after .entry-image a - see below. All other lines were left the same...and don't forget to do your backup before editing....

    /* =Entry Media (Video, Gallery, Images)
    -------------------------------------------------------------- */
    #content .entry-image-container,
    #content .entry-video-container,
    #content .entry-gallery-container {padding: 0; margin: 0 0 44px; display: none}
    #content .entry-video-container iframe {padding: 0;margin: 0;display: table;}
    #content .entry-video-container object {margin: 0;}
    #content .entry-image {display: block; text-align: center; line-height: 0;}
    #content .entry-image a {display: block;}
    #content .entry-image img {margin: 0;}
    #content .photo-credit {position: absolute; top: 22px; width: 800px; text-align: center; z-index: 10; display: none;}
    .single #content .entry-image a {display:none;}{cursor: default;}{display:none;},
    .single #content .entry-image img {max-width: 800px;}{display:none;},



Topic Closed

This topic has been closed to new replies.

About this Topic