2 WordPress questions

Discussion in 'Blogging' started by emma90, Apr 8, 2015.

  1. emma90

    emma90 Newbie

    Apr 8, 2015
    Likes Received:
    1. I tried every single possible way to remove my feature images from my single posts while keeping the images when you visit my home page.
    First of all I tried to use the following code:

    .single-post .attachment-post-thumbnail {
    display: none;

    Along with many other in my style.css or single post file without any success.
    This is in my single.php file:

    <?php get_header();?>



    <div id="main" <?php if(get_theme_mod('sp_post_layout')=='full'):?>class="fullwidth"<?php endif;?>>

    <?php if(have_posts()):while(have_posts()): the_post();?>

    <?php get_template_part('content');?>

    <?php endwhile;?>

    <?php endif;?>
    <?php if(get_theme_mod('sp_post_layout')=='full'):else:?><?php get_sidebar();?><?php endif;?>

    <?php get_footer();?>

    Let me know what part you need from my CSS perhaps if you could help? I am really desperate to solve this :(
    When I visit my blog posts the sidebar is below content and not at the side, my website is not live yet so I cannot show you that but if you could help I would really appreciate it.