1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

2 WordPress questions

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

  1. emma90

    emma90 Newbie

    Joined:
    Apr 8, 2015
    Messages:
    6
    Likes Received:
    0
    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();?>

    <divclass="container">

    <divid="content">

    <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;?>
    </div>


    <?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 :(
    2.
    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.
    Betty